Statements can be empty.

This commit is contained in:
Stefano Sanfilippo 2014-11-23 19:29:48 +01:00
parent d9f3d6f06a
commit 03d40b0ad6

View File

@ -66,7 +66,8 @@ statements:
;
statement:
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 | assert_stmt |
/* epsilon */
;
var_decl:
VARDECL pointer ID COMMA TYPENAME var_init