From 493305021f9eb34414c4c18d0fac4d095958a37b Mon Sep 17 00:00:00 2001 From: xerox Date: Sat, 28 Sep 2019 14:36:56 -0700 Subject: [PATCH] Update deon.y --- deon.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deon.y b/deon.y index 3e7da2e..3c54322 100755 --- a/deon.y +++ b/deon.y @@ -82,7 +82,7 @@ statement: statement_list: statement ';' { $$ = create_compound_statement($1, _temp_statement_head); } - | statement_list statement ';' { $$ = add_to_compound_statement($2, _temp_statement_head); } + | statement_list statement ';' { $$ = add_to_compound_statement($2, $1); } ; FUNC: