X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/08ac16e49d67a40f0f8127cf43f8a166626615dc..b52d7c8fed34b8506751cbf3e26f878f0cc7fd7b:/src/scan.l?ds=inline
diff --git a/src/scan.l b/src/scan.l
index bb6564b..54cea88 100644
--- a/src/scan.l
+++ b/src/scan.l
@@ -17,15 +17,17 @@
* along with this program. If not, see .
*/
+#include
#include "parse.h"
}
-%option noyywrap bison-locations reentrant
+%option nodefault noyywrap bison-locations reentrant never-interactive
%option extra-type="_Bool"
+%option prefix="cdecl__yy"
%{
#define lex_error(msg) do { \
- yyerror(yylloc, NULL, NULL, (msg)); \
+ cdecl__yyerror(yylloc, NULL, NULL, (msg)); \
return T_LEX_ERROR; \
} while(0)