diff options
author | Hans Bolinder <[email protected]> | 2016-09-13 08:13:46 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-09-13 08:13:46 +0200 |
commit | 600ad7962a67c0484c5e37393dc978c447841b52 (patch) | |
tree | 73e610099c03ac1d7571c7cf0ef79f75bfc29fe3 /lib/parsetools/src/yecc.erl | |
parent | 58cc6bb63216d66975b8b9a895c0596925a8571d (diff) | |
parent | edaa208b4aa5e9e6e67df9eae4fa5e70791a7002 (diff) | |
download | otp-600ad7962a67c0484c5e37393dc978c447841b52.tar.gz otp-600ad7962a67c0484c5e37393dc978c447841b52.tar.bz2 otp-600ad7962a67c0484c5e37393dc978c447841b52.zip |
Merge branch 'hasse/parsetools/suppress_dialyzer_warnings/OTP-13681' into maint
* hasse/parsetools/suppress_dialyzer_warnings/OTP-13681:
parsetools: Suppress Dialyzer-warnings
Diffstat (limited to 'lib/parsetools/src/yecc.erl')
-rw-r--r-- | lib/parsetools/src/yecc.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/parsetools/src/yecc.erl b/lib/parsetools/src/yecc.erl index 1b426141a1..f6b80eb1b4 100644 --- a/lib/parsetools/src/yecc.erl +++ b/lib/parsetools/src/yecc.erl @@ -1978,7 +1978,8 @@ output_goto(St, [{_Nonterminal, []} | Go], StateInfo) -> output_goto(St, Go, StateInfo); output_goto(St0, [{Nonterminal, List} | Go], StateInfo) -> F = function_name(yeccgoto, Nonterminal), - St10 = output_goto1(St0, List, F, StateInfo, true), + St05 = fwrite(St0, <<"-dialyzer({nowarn_function, ~w/7}).\n">>, [F]), + St10 = output_goto1(St05, List, F, StateInfo, true), St = output_goto_fini(F, Nonterminal, St10), output_goto(St, Go, StateInfo); output_goto(St, [], _StateInfo) -> |