diff options
Diffstat (limited to 'parser.l')
-rw-r--r-- | parser.l | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -71,6 +71,17 @@ val form_to_ln_hash; static val prepared_error_message; +#define FLEX_NUM_VERSION 1000*FLEX_MAJOR_VERSION + \ + 100*FLEX_MINOR_VERSION + \ + FLEX_SUBMINOR_VERSION + +#if FLEX_NUM_VERSION < 20509 +int yylex_destroy(void) +{ + return 0; +} +#endif + void yyerror(const char *s) { yyerrorf(lit("~a"), string_utf8(s), nao); |