diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-04-05 16:31:49 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-04-05 23:32:18 +0000 |
commit | 368e3b8bd75cdbb67a905eb0de226c07f8c4e4e1 (patch) | |
tree | b860dfd7536b3a833bdd2a92dc2a85b83a211311 /wiretap/ascend-int.h | |
parent | 8b9cae5ff37d4d075992551dd37e8237841e74ae (diff) |
Set the extra type the right way.
Use %option extra_type= rather than #defining YY_EXTRA_TYPE.
Change comments to reflect that the state structure is used both by the
lexical analyzer and the parser.
Change-Id: I19a81de61cbd6e86d71154f376ef0681cc6d42fb
Reviewed-on: https://code.wireshark.org/review/14826
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/ascend-int.h')
-rw-r--r-- | wiretap/ascend-int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h index 0d8e70b6d6..539c76a9a8 100644 --- a/wiretap/ascend-int.h +++ b/wiretap/ascend-int.h @@ -51,7 +51,6 @@ typedef struct { time_t secs; guint32 usecs; } ascend_state_t; -#define YY_EXTRA_TYPE ascend_state_t * extern int run_ascend_parser(FILE_T fh, struct wtap_pkthdr *phdr, guint8 *pd, |