[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Please revert the %pure-parser deprecation message
From: |
Peter Wu |
Subject: |
Please revert the %pure-parser deprecation message |
Date: |
Sun, 30 Jun 2019 14:19:17 +0200 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
Hi,
Starting with Bison 3.4, use of '%pure-parser' started emitting
deprecation warnings, recommending '%define api.pure' instead. The
latter however is a non-standard directive which is not implemented by
Berkeley YACC. Berkeley YACC does implement %pure-parser instead:
https://invisible-island.net/byacc/manpage/yacc.html
Correct me if I am wrong, but it appears that the change to '%define
api.pure' is purely a stylistic one. In our project, use of '%define
api.pure [full]' makes no difference in the generated code.
Would it be possible to revert the diagnostic message? -Wno-deprecated
(added in Bison 2.7) does hide it, but that requires extra custom code.
--
Kind regards,
Peter Wu
https://lekensteyn.nl
- Please revert the %pure-parser deprecation message,
Peter Wu <=