Make scanner portable (works with regular lex)

This commit is contained in:
David Baer
2018-07-03 09:56:28 -04:00
parent c98e91d810
commit 44b2187d76

View File

@@ -9,6 +9,7 @@
#define LEXPRINT(x...)
#endif
%}
%option noyywrap
%s HEADER HEADERVAL REFERENCEINTRO REFERENCENAME REFERENCE BLOCK
WHITESPACE [ \t]
ID [A-Za-z_][A-Za-z_0-9]*