diff options
-rwxr-xr-x | sci2jsyacc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sci2jsyacc.py b/sci2jsyacc.py index 7d740c86..bb6d44f8 100755 --- a/sci2jsyacc.py +++ b/sci2jsyacc.py @@ -63,7 +63,8 @@ def p_statement_if(p): p[0] = 'if (' + p[2] + ') {\n' + p[5] + '}\n' def p_statement_break(p): - 'statement : BREAK EOL' + '''statement : BREAK EOL + | BREAK COMMA EOL''' p[0] = str(p[1]) + '\n' def p_statement_eol(p): |