Minor cleanups to lexer.

This commit is contained in:
Stefano Sanfilippo 2014-11-27 21:30:49 +01:00
parent 88e78be419
commit 60136fc4e9

View File

@ -6,7 +6,7 @@
extern int lineNumber;
void monicelli_error(const char *);
void monicelli_meta(const char *); // Extern void serve?
void monicelli_meta(const char *);
using namespace monicelli;
%}
@ -174,7 +174,7 @@ CHAR [a-zA-Z_]
<INITIAL,shift>. {
monicelli_error("Unexpected token");
return -1;
};
}
%%