From af934dfea8c0824903c8685d5551fd76393e229d Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Mon, 24 Nov 2014 21:19:13 +0100 Subject: [PATCH] Formatting --- Monicelli.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Monicelli.y b/Monicelli.y index 39fa39b..bef52b0 100644 --- a/Monicelli.y +++ b/Monicelli.y @@ -6,6 +6,7 @@ extern void emit(const char *, ...); extern void yyerror(const char *); extern int yylex(); + %} %union { @@ -46,7 +47,7 @@ extern int yylex(); %% program: - fun_decls main fun_decls | /* epsilon */ + /* epsilon */ | fun_decls main fun_decls ; fun_decls: /* epsilon */ | fun_decls fun_decl @@ -68,8 +69,7 @@ statements: ; statement: var_decl | assign_stmt | print_stmt | input_stmt | return_stmt | - loop_stmt | branch_stmt | fun_call | abort_stmt | - /* epsilon */ + loop_stmt | branch_stmt | fun_call | abort_stmt | /* epsilon */ ; var_decl: VARDECL variable COMMA pointer TYPENAME var_init