From 368e3b8bd75cdbb67a905eb0de226c07f8c4e4e1 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 5 Apr 2016 16:31:49 -0700 Subject: 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 --- wiretap/ascend.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiretap/ascend.y') 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} -- cgit v1.2.3