diff options
-rw-r--r-- | c.y | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -115,7 +115,10 @@ parameter: type ID { $$->name = $2; } ; -block: '{' statement_list '}' { +block: '{' '}' { + $$ = node_make_1(N_BLOCK, node_make_0(N_LIST_END)); + } + | '{' statement_list '}' { $$ = node_make_1(N_BLOCK, $2); } ; |