Skip to content

Commit

Permalink
Merge pull request #6 from rik43/patch-1
Browse files Browse the repository at this point in the history
reset sortedStatementsStack
  • Loading branch information
neveldo authored Dec 10, 2018
2 parents 7185dc9 + 982d65d commit 469ac26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TextGenerator/TextGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public function compile($template)
{
$this->template = $template;
$this->statementsStack = [];
$this->sortedStatementsStack = [];

$this->compiledTemplate = $this->parseIndentations($template);
$this->compiledTemplate = $this->compileTemplate($this->compiledTemplate);
Expand Down

0 comments on commit 469ac26

Please sign in to comment.