diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2013-10-23 10:57:51 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2013-11-05 10:44:03 +0100 |
commit | ad9d4f9f2e5b74c1306b8d2f6227f37a59832069 (patch) | |
tree | f444d0d43cabccf17a6f91a5dab8f130a085cda3 /.prev-version | |
parent | 3cc83855d988a89d708c182aff917cac21d9c6f2 (diff) | |
download | bison-ad9d4f9f2e5b74c1306b8d2f6227f37a59832069.tar.gz |
c++: use __attribute__((__pure__)) to avoid warnings
Building C++ parsers with -Wsuggest-attribute=const and
-Wsuggest-attribute=noreturn triggers warning in generated code.
* data/lalr1.cc: Call b4_attribute_define.
(debug_stream, debug_level): Flag as pure.
* tests/headers.at (Several parsers): There are now more YY macros
that "leak".
Diffstat (limited to '.prev-version')
0 files changed, 0 insertions, 0 deletions