diff options
Diffstat (limited to 'LuaSL/src/LuaSL_lexer.l')
-rw-r--r-- | LuaSL/src/LuaSL_lexer.l | 16 |
1 files changed, 14 insertions, 2 deletions
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 @@ | |||
1 | %{ | 1 | %{ |
2 | 2 | ||
3 | #include "LuaSL_type_parser.h" | 3 | #define excludeLexer |
4 | #include "LuaSL_yaccer.tab.h" | 4 | #include "LuaSL_LSL_tree.h" |
5 | 5 | ||
6 | %} | 6 | %} |
7 | 7 | ||
@@ -29,3 +29,15 @@ WS [ \r\n\t]* | |||
29 | 29 | ||
30 | %% | 30 | %% |
31 | 31 | ||
32 | int XXyywrap() | ||
33 | { | ||
34 | #ifdef FLEX_SCANNER | ||
35 | #ifndef LL_WINDOWS | ||
36 | // get gcc to stop complaining about lack of use of yyunput | ||
37 | (void) yyunput; | ||
38 | (void) input; | ||
39 | #endif | ||
40 | #endif | ||
41 | return(1); | ||
42 | } | ||
43 | |||