Fixed: grammar bug with name labels

This commit is contained in:
arookas 2016-02-12 21:31:38 -05:00
parent 77e5b1f858
commit faeac9bb4e

View file

@ -110,9 +110,10 @@ root_statement =
statement = statement =
compound_statement SEMICOLON | compound_statement SEMICOLON |
if_statement | if_statement |
[name_label] while_statement | name_label |
[name_label] do_statement SEMICOLON | while_statement |
[name_label] for_statement | do_statement SEMICOLON |
for_statement |
return_statement SEMICOLON | return_statement SEMICOLON |
break_statement SEMICOLON | break_statement SEMICOLON |
continue_statement SEMICOLON | continue_statement SEMICOLON |