aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend.y
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-04-05 16:31:49 -0700
committerGuy Harris <guy@alum.mit.edu>2016-04-05 23:32:18 +0000
commit368e3b8bd75cdbb67a905eb0de226c07f8c4e4e1 (patch)
treeb860dfd7536b3a833bdd2a92dc2a85b83a211311 /wiretap/ascend.y
parent8b9cae5ff37d4d075992551dd37e8237841e74ae (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.y')
-rw-r--r--wiretap/ascend.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/ascend.y b/wiretap/ascend.y
index 31f9cbc88e..a746f23cd7 100644
--- a/wiretap/ascend.y
+++ b/wiretap/ascend.y
@@ -19,7 +19,7 @@
%lex-param {void *yyscanner}
/*
- * And we need to pass the parser state to the scanner.
+ * And we need to pass the parser/scanner state to the parser.
*/
%parse-param {ascend_state_t *parser_state}