git.samba.org
/
gd
/
wireshark
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7d843
)
disable unput here, too
author
Richard van der Hoff
<richardv@mxtelecom.com>
Tue, 3 Apr 2007 19:28:59 +0000
(19:28 -0000)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/text2pcap-scanner.l
b/text2pcap-scanner.l
index 59b571b311f5dbff63e20a392ead30c30f947906..725926df82c1624bc5f81b593245ca7d2239f564 100644
(file)
--- 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); }