aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard van der Hoff <richardv@mxtelecom.com>2007-04-03 19:28:59 +0000
committerRichard van der Hoff <richardv@mxtelecom.com>2007-04-03 19:28:59 +0000
commit8cebae3c33637469a0699746672180ce31794f5c (patch)
tree81f344770a4cdef57c708a81bd69396b74d2c1e5
parent1c7d843166ce91699b0176df525e0d82ca3d4500 (diff)
disable unput here, too
svn path=/trunk/; revision=21323
-rw-r--r--text2pcap-scanner.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l
index 59b571b311..725926df82 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -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); }