summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/parser.l b/parser.l
index 1fa7ac38..a49e43d5 100644
--- a/parser.l
+++ b/parser.l
@@ -71,6 +71,7 @@ val form_to_ln_hash;
static val prepared_error_message;
+#ifdef FLEX_MAJOR_VERSION
#define FLEX_NUM_VERSION 1000*FLEX_MAJOR_VERSION + \
100*FLEX_MINOR_VERSION + \
FLEX_SUBMINOR_VERSION
@@ -81,6 +82,7 @@ int yylex_destroy(void)
return 0;
}
#endif
+#endif
void yyerror(const char *s)
{