From faeac9bb4efd109f33aa9790f9fa1526800d4fdc Mon Sep 17 00:00:00 2001 From: arookas Date: Fri, 12 Feb 2016 21:31:38 -0500 Subject: [PATCH] Fixed: grammar bug with name labels --- ssc/sunscript.grammar | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ssc/sunscript.grammar b/ssc/sunscript.grammar index b38d2f0..6f79c45 100644 --- a/ssc/sunscript.grammar +++ b/ssc/sunscript.grammar @@ -110,9 +110,10 @@ root_statement = statement = compound_statement SEMICOLON | if_statement | - [name_label] while_statement | - [name_label] do_statement SEMICOLON | - [name_label] for_statement | + name_label | + while_statement | + do_statement SEMICOLON | + for_statement | return_statement SEMICOLON | break_statement SEMICOLON | continue_statement SEMICOLON |