attributes in function arguments broken
Joseph S. Myers
jsm28@cam.ac.uk
Wed Jan 16 06:08:00 GMT 2002
On Tue, 15 Jan 2002, Aldy Hernandez wrote:
> p.s. the grammar looks correct (parmlist, maybe_attribute, etc). how
> does one generally go about debugging this?
Start by being familiar with how LALR(1) parsers work. Then build the
parser with bison -d and study the .output file.
> #define blah __attribute__(__mode__(SI))
The argument of __attribute__ is double-parenthesised (so you want
"__attribute__((__mode__(SI)))").
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc
mailing list