From 4475fbd8d0c40f42aa7e14ccb5fbec59b31e4b4c Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 5 Jan 2012 10:10:50 +1000 Subject: Consolidate the parser includes. --- LuaSL/src/LuaSL_lexer.l | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'LuaSL/src/LuaSL_lexer.l') diff --git a/LuaSL/src/LuaSL_lexer.l b/LuaSL/src/LuaSL_lexer.l index f55d458..93dd39c 100644 --- a/LuaSL/src/LuaSL_lexer.l +++ b/LuaSL/src/LuaSL_lexer.l @@ -1,7 +1,7 @@ %{ -#include "LuaSL_type_parser.h" -#include "LuaSL_yaccer.tab.h" +#define excludeLexer +#include "LuaSL_LSL_tree.h" %} @@ -29,3 +29,15 @@ WS [ \r\n\t]* %% +int XXyywrap() +{ +#ifdef FLEX_SCANNER + #ifndef LL_WINDOWS + // get gcc to stop complaining about lack of use of yyunput + (void) yyunput; + (void) input; + #endif +#endif + return(1); +} + -- cgit v1.1