]> git.saurik.com Git - bison.git/commit
skeletons: update the handling of compiler attributes
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 23 Oct 2013 08:57:09 +0000 (10:57 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 5 Nov 2013 09:44:03 +0000 (10:44 +0100)
commit3cc83855d988a89d708c182aff917cac21d9c6f2
tree6b8e09cfd9183e13c61228db56a8775c85c3d660
parent5407fc7d76bc0c1d15b0e281ba12ea20c77751e7
skeletons: update the handling of compiler attributes

* data/c.m4 (b4_attribute_define): Instead of defining __attribute__,
define YY_ATTRIBUTE conditionally.
(YY_ATTRIBUTE_PURE, YY_ATTRIBUTE_UNUSED, _Noreturn): New.
Use them.
* data/glr.c: Use them.
data/c.m4
data/glr.c