diff --git a/yacc.y b/yacc.y index f4013ba..f0d4997 100644 --- a/yacc.y +++ b/yacc.y @@ -4,12 +4,11 @@ #include #include #include "table.h" -%} -%code provides { - int yylex (void); - void yyerror (const char *); -} + +int yylex (void); +void yyerror (const char *); +%} %union {char str[NAME_MAX_LENGTH]; int nbInt; enumVarType type; } /*loops keywords*/