aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_preparse.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-02-10 19:13:07 +0000
committerGuy Harris <guy@alum.mit.edu>2013-02-10 19:13:07 +0000
commitebacca89a79f3d08d1cc63fdc1a77bdd37c20477 (patch)
tree517e4b2d4d4d29eda2f4cf3352a67d328bc8958b /epan/dtd_preparse.l
parent19ffe7eb4ca47c378ff1df0df3e5025df6d14f35 (diff)
Add %option noinput to a bunch of Flex files, as we aren't using the
input() routine and thus don't need to have it generated - and as it produces warnings of a routine defined but not used, we don't want to have it generated. Squelch a casting-const-away warning. svn path=/trunk/; revision=47613
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r--epan/dtd_preparse.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l
index 43f82d73f5..4265538ded 100644
--- a/epan/dtd_preparse.l
+++ b/epan/dtd_preparse.l
@@ -1,4 +1,9 @@
/*
+ * We don't use input, so don't generate code for it.
+ */
+%option noinput
+
+/*
* We don't use unput, so don't generate code for it.
*/
%option nounput