aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dfilter/scanner.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dfilter/scanner.l b/epan/dfilter/scanner.l
index 4697c891cb..7f67cb73c3 100644
--- a/epan/dfilter/scanner.l
+++ b/epan/dfilter/scanner.l
@@ -68,6 +68,12 @@ GString* quoted_string = NULL;
%x RANGE_PUNCT
%x DQUOTE
+/* 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
+
%%
[[:blank:]\n]+ /* ignore whitespace */