aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-02-10 20:21:05 +0000
committerGuy Harris <guy@alum.mit.edu>2013-02-10 20:21:05 +0000
commit0a20c5dd913ee49a4faf9ed5d868e308949eb450 (patch)
treed5f629f875761c6dfd4d3965025422bd923af8e6 /text2pcap-scanner.l
parenta22790ae51c66890f0f1784aef205622b190ad73 (diff)
Add %option noinput to some 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. svn path=/trunk/; revision=47616
Diffstat (limited to 'text2pcap-scanner.l')
-rw-r--r--text2pcap-scanner.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l
index ca9926d135..59bc017217 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -1,6 +1,11 @@
/* -*-mode: flex-*- */
/*
+ * 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