chiark / gitweb /
Use `%option nounput' rather than #define YY_NO_UNPUT.
[userv.git] / lexer.l
diff --git a/lexer.l b/lexer.l
index d75ed270bbdab3688829c950cf1d428c8fa8fa20..c3b45b7a8636a65d310132f55747c5fc900e2c72 100644 (file)
--- a/lexer.l
+++ b/lexer.l
@@ -135,11 +135,10 @@ static struct error_handling eh = { tokv_word_errorstostderr, 0,0,0,0,0 };
 static int dequote(char *inplace);
 static void countnewlines(void);
 
-#define YY_NO_UNPUT
-
 %}
 
 %option noyywrap
+%option nounput
 
 %%