diff src/lex.l @ 2716:2b5c27299cde

[project @ 1997-02-22 08:40:55 by jwe]
author jwe
date Sat, 22 Feb 1997 08:44:22 +0000
parents 7a820bb7f406
children 76411ce43c05
line wrap: on
line diff
--- a/src/lex.l	Sat Feb 22 02:40:00 1997 +0000
+++ b/src/lex.l	Sat Feb 22 08:44:22 1997 +0000
@@ -63,6 +63,12 @@
 #include <y.tab.h>
 #include <oct-gperf.h>
 
+#if ! (defined (FLEX_SCANNER) \
+       && defined (YY_FLEX_MAJOR_VERSION) && YY_FLEX_MAJOR_VERSION >= 2 \
+       && defined (YY_FLEX_MINOR_VERSION) && YY_FLEX_MINOR_VERSION >= 5)
+#error lex.l requires flex version 2.5.4 or later
+#endif
+
 // Flags that need to be shared between the lexer and parser.
 lexical_feedback lexer_flags;