This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

attributes in function arguments broken


i've been staring at this too long, and my skills at debugging
yacc code are close to 0.

attributes in function parameters are completely broken.

can anyone take a peek at this?

thanks a lot.
aldy

p.s. the grammar looks correct (parmlist, maybe_attribute, etc).  how
does one generally go about debugging this?

culebra:/build/t3/gcc$ ./cc1 c.c -quiet
c.c:3: parse error before "__attribute__"
culebra:/build/t3/gcc$ cat c.c
#define blah __attribute__(__mode__(SI))

void foo (blah int abc);
culebra:/build/t3/gcc$ 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]