also derete this #3

Closed
N00nehere wants to merge 49 commits from (deleted):n00nehere-patch-2 into master
1 changed files with 0 additions and 6 deletions
Showing only changes of commit a86a1736ec - Show all commits

View File

@ -178,12 +178,6 @@ proc expect(self: Parser, kind: TokenType, message: string = "") =
self.error(message)
proc unnest(self: Parser, node: ASTNode): ASTNode =
## Unpacks an arbitrarily nested grouping expression
result = node
while result.kind == groupingExpr and GroupingExpr(result).expression != nil:
result = GroupingExpr(result).expression
# Forward declarations
proc expression(self: Parser): ASTNode
proc expressionStatement(self: Parser): ASTNode