diff options
-rw-r--r-- | yy/kalmia.y | 2 | ||||
-rw-r--r-- | yy/makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yy/kalmia.y b/yy/kalmia.y index 8afc101..78bf895 100644 --- a/yy/kalmia.y +++ b/yy/kalmia.y @@ -89,7 +89,7 @@ doubles: %% -int yyerror(YYLTYPE *yyllocp, yyscan_t unused, const char *msg); +int yyerror(YYLTYPE *yyllocp, yyscan_t unused, const char *msg) { fprintf( stderr, "[%d:%d]: %s\n", diff --git a/yy/makefile b/yy/makefile index 5f33c4f..5c9ce5f 100644 --- a/yy/makefile +++ b/yy/makefile @@ -4,7 +4,7 @@ kalmia.tab.c: kalmia.y bison -o "$@" --header=kalmia.tab.h kalmia.y kalmia.lex.c: kalmia.l - flex -o "$@" --header-file "kalmia.lex.h" kalmia.l + flex -o "$@" --header-file="kalmia.lex.h" kalmia.l kalmia: kalmia.tab.c kalmia.lex.c main.c kalmia.h gcc -o kalmia main.c kalmia.tab.c kalmia.lex.c -lfl |