diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-23 19:03:05 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-23 19:03:05 +0000 |
commit | d9633e54a4878ad8df4b9aba7691282fefabee1a (patch) | |
tree | d7d5bed73fe6ee747d6695c8c18cfad8970abf12 /epan/dfilter | |
parent | b90cfb037923c3222c5d281baf0022f2e92ff283 (diff) |
Back out previous change - I guess the Solaris buildbot has a pre-2.5.30
flex.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36833 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dfilter')
-rw-r--r-- | epan/dfilter/scanner.l | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/epan/dfilter/scanner.l b/epan/dfilter/scanner.l index 129cd2eee2..4a22d8cb33 100644 --- a/epan/dfilter/scanner.l +++ b/epan/dfilter/scanner.l @@ -1,4 +1,20 @@ -%top{ +/* + * We don't use unput, so don't generate code for it. + */ +%option nounput + +/* + * We don't read from the terminal. + */ +%option never-interactive + +/* + * Prefix scanner routines with "df_" rather than "yy", so this scanner + * can coexist with other scanners. + */ +%option prefix="df_" + +%{ /* * $Id$ * @@ -24,25 +40,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -} -/* - * We don't use unput, so don't generate code for it. - */ -%option nounput - -/* - * We don't read from the terminal. - */ -%option never-interactive - -/* - * Prefix scanner routines with "df_" rather than "yy", so this scanner - * can coexist with other scanners. - */ -%option prefix="df_" - -%{ #include <stdlib.h> #include <errno.h> |