Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(parser): fix the ident statement to use expression suffix (#370)
The previous implementation used `parseExpression` because it was easier to do that than to read the identifier, read the next token, and then try to inject the identifier into the expression parsing stack. After this was written, `parseExpressionSuffix` was added for another part of the grammar. It is more correct to use that function here since it is referenced in the EBNF. It should be functionally the same.
- Loading branch information