Skip to content

Commit

Permalink
reset sortedStatementsStack
Browse files Browse the repository at this point in the history
fix issue #5
  • Loading branch information
rik43 authored Nov 7, 2018
1 parent 7185dc9 commit 982d65d
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 982d65d

Please sign in to comment.