diff options
Diffstat (limited to 'src/Parser.php')
-rw-r--r-- | src/Parser.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Parser.php b/src/Parser.php index 11874fa..ff55f5f 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -337,10 +337,7 @@ class Parser * Processed statement. * @var Statement */ - $stmt = new $class(); - - // Parsing the actual statement. - $stmt->parse($this, $this->list); + $stmt = new $class($this, $this->list); // The first token that is a part of this token is the next token // unprocessed by the previous statement. |