No DOT after END_ASSERT.

This commit is contained in:
Stefano Sanfilippo 2014-11-23 22:07:43 +01:00
parent 1147af9eda
commit 42c46c0648

View File

@ -61,11 +61,11 @@ main:
MAIN statements MAIN statements
; ;
statements: statements:
/* epsilon */ | statements statement DOT /* epsilon */ | statements statement DOT | statements assert_stmt
; ;
statement: statement:
var_decl | assign_stmt | print_stmt | input_stmt | return_stmt | var_decl | assign_stmt | print_stmt | input_stmt | return_stmt |
loop_stmt | branch_stmt | fun_call | abort_stmt | assert_stmt | loop_stmt | branch_stmt | fun_call | abort_stmt |
/* epsilon */ /* epsilon */
; ;
var_decl: var_decl: