aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend_scanner.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-06-09 22:46:00 +0000
committerGuy Harris <guy@alum.mit.edu>2011-06-09 22:46:00 +0000
commit06256dfe5b7b0402d15ea2f7bdec2801e69aafbe (patch)
tree1e8309e61f0d3a5666b3da7a29f689f6d38f40e5 /wiretap/ascend_scanner.l
parentae4c6d08caa69a52928e2d69a921cf7e48460a22 (diff)
The only place where we care about zlib is file_wrappers.c; include
<zlib.h> there, rather than wtap-int.h. That obviates the need to include config.h earlier in ascend_scanner.l; revert the previous change, so we don't require a version of Flex that supports %top. svn path=/trunk/; revision=37640
Diffstat (limited to 'wiretap/ascend_scanner.l')
-rw-r--r--wiretap/ascend_scanner.l6
1 files changed, 2 insertions, 4 deletions
diff --git a/wiretap/ascend_scanner.l b/wiretap/ascend_scanner.l
index 9664892836..69ad4f1bbd 100644
--- a/wiretap/ascend_scanner.l
+++ b/wiretap/ascend_scanner.l
@@ -9,8 +9,8 @@
*/
%option prefix="ascend"
-%top{
-/* Generated from ascend_scanner.l
+%{
+/* ascend_scanner.l
*
* $Id$
*
@@ -35,9 +35,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-}
-%{
#include <stdio.h>
#include <stdlib.h>
#include <string.h>