disable unput here, too
authorRichard van der Hoff <richardv@mxtelecom.com>
Tue, 3 Apr 2007 19:28:59 +0000 (19:28 -0000)
committerRichard van der Hoff <richardv@mxtelecom.com>
Tue, 3 Apr 2007 19:28:59 +0000 (19:28 -0000)
svn path=/trunk/; revision=21323

text2pcap-scanner.l

index 59b571b311f5dbff63e20a392ead30c30f947906..725926df82c1624bc5f81b593245ca7d2239f564 100644 (file)
@@ -52,6 +52,12 @@ text [^ \n\t]+
 mailfwd >
 eol \r?\n\r?
 
+/* we don't use unput, so don't generate code for it.
+ * This is flex-only, but current thinking is that our lexers don't work
+ * with non-flex anyway...
+ */
+%option nounput
+
 %%
 
 {byte}            { parse_token(T_BYTE, yytext); }