parse.y: New rules to allow attributes in a prefix position.
* parse.y: New rules to allow attributes in a prefix position. (prefix_attributes): New variable. Pass it into cplus_decl_attributes. (setattr): New rule. (reserved_declspecs, declmods): Catch attributes here. * decl2.c (cplus_decl_attributes): Add PREFIX_ATTRIBUTES argument. * decl.c (duplicate_decls): Pass DECL_MACHINE_ATTRIBUTES to descendent typedef. (grokdeclarator): Added code to support machine attributes. * Makefile.in (stamp-parse): Expect 5 shift/reduce failures. From-SVN: r9172
Showing
Please
register
or
sign in
to comment