aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
diff options
context:
space:
mode:
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 1f45f8efda..f422bca69a 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -25,6 +25,12 @@
*/
%option noyywrap
+/*
+ * Prefix scanner routines with "text2pcap_" rather than "yy" to avoid a
+ * "redefined macro" warning with flex 2.6.3.
+ */
+%option prefix="text2pcap_"
+
%{
/********************************************************************************