diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-06-09 22:46:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-06-09 22:46:00 +0000 |
commit | 06256dfe5b7b0402d15ea2f7bdec2801e69aafbe (patch) | |
tree | 1e8309e61f0d3a5666b3da7a29f689f6d38f40e5 /wiretap/ascend_scanner.l | |
parent | ae4c6d08caa69a52928e2d69a921cf7e48460a22 (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.l | 6 |
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> |