aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
diff options
context:
space:
mode:
authorrichardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-03 19:28:59 +0000
committerrichardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-03 19:28:59 +0000
commit44935e00e61cb712e1771e692aaeea59c01599f7 (patch)
tree81f344770a4cdef57c708a81bd69396b74d2c1e5 /text2pcap-scanner.l
parent9ee995a75bb8b9588ee18c79fd02fd6a2168249a (diff)
disable unput here, too
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21323 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'text2pcap-scanner.l')
-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); }