-
Notifications
You must be signed in to change notification settings - Fork 423
Open
Description
Line 581 in 83746bd
| """proccall_statement : ID LPAREN expr? (COMMA expr)* RPAREN""" |
It currently reads """proccall_statement : ID LPAREN expr? (COMMA expr)* RPAREN"""
I believe the correct version is """proccall_statement : ID LPAREN (expr (COMMA expr)*)? RPAREN""", because otherwise foobar(, b, c) would be valid.
If I'm right, then the only additional change is that the while loop
Line 592 in 83746bd
| while self.current_token.type == TokenType.COMMA: |
Metadata
Metadata
Assignees
Labels
No labels