Thanks for your help.
I have attached the latest listing of the program in question. When I run
Bison now, then the messages I get from that are...
parse.y: warning: 8 useless nonterminals and 30 useless rules
parse.y:52.1-7: fatal error: start symbol grammar does not derive any
sentence
I believ
Hi joe,
add another rule to exp, eg
exp: NUMBER { $$ = convert_str_to_int($1); }
| /* you rules */
otherwise exp cannot be derived as all the other rules involve
exp itself.
-tomas
On Tue, 2009-08-04 at 22:12 +0100, j...@garveydesign.com wrote:
> Thanks for your help.
> I have attached the