Skip to content

Commit

Permalink
CHG: Update grammar consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
krisvanrens authored Jan 11, 2024
1 parent 7d5a1df commit 69caea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ stmt = expr_stmt | assignment | connect | print | return | block ;
expr_stmt = expr ( ';' )? ;
assignment = ID '=' ( expr | ref ) ';' ;
connect = ID '->' ID ';' ;
print = 'print' ( expr ) ';' ;
print = 'print' expr? ';' ;
return = 'return' expr? ';' ;
block = '{' decl* '}' ;
Expand Down

0 comments on commit 69caea4

Please sign in to comment.