|Help with Grammar email@example.com (Ian Upright) (2001-12-20)|
|From:||Ian Upright <firstname.lastname@example.org>|
|Date:||20 Dec 2001 00:48:23 -0500|
|Organization:||Excite@Home - The Leader in Broadband http://home.com/faster|
|Posted-Date:||20 Dec 2001 00:48:23 EST|
I'm trying to build a parser to generate a simple tokenized tree of the
standard C grammar. I'm getting these errors "has no declared type" from
Bison, but I'm not quite sure what is wrong. Can anyone enlighten me?
Also any other tips or comments as to the approach I'm using to build this
p.s. no, this is not a school assignment, I'm looking to use this parse tree
for my own purposes
[You need to declare the type of every symbol that's referenced as $$ or $n,
keeping in mind that if you don't write an action for a rule, yacc pretends
you wrote $$ = $1;
Return to the
Search the comp.compilers archives again.