diff --git a/main.c b/main.c index 13b0b5a..aaab159 100644 --- a/main.c +++ b/main.c @@ -2,12 +2,14 @@ #include "Monicelli.tab.h" #include +#include #include int lineNumber = 1; void yyerror(const char *message) { fprintf(stderr, "At line %d: %s\n", lineNumber, message); + exit(1); } void emit(const char *text, ...) {