diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-02-24 13:59:22 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-02-24 22:02:08 +0000 |
commit | ee2bfbf7b4f9ddcc7446756608f7aca89726bfbb (patch) | |
tree | c02df635f53da62d39bf00666e586b0651d5aadd /wiretap | |
parent | 852e3378b6c0eb73ee453d77f7f4ac20469f10e7 (diff) |
The parser is at the bottom, so the shadow warning must be turned off there.
The parser is what declares the local yylval, and that's generated below
all the user-specified code, so we have to turn diagnostics off at the
bottom.
Change-Id: I33d5f53c1fd67014ae7fe2b851d45d0c5e80becd
Reviewed-on: https://code.wireshark.org/review/26086
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/ascend.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/ascend.y b/wiretap/ascend.y index 99f2899099..6498099106 100644 --- a/wiretap/ascend.y +++ b/wiretap/ascend.y @@ -495,3 +495,5 @@ yyerror (void *yyscanner, ascend_state_t *state _U_, FILE_T fh _U_, const char * { ascendget_extra(yyscanner)->ascend_parse_error = s; } + +DIAG_OFF_BYACC |