Re: The GPL "Special Exception" and yacc.c

2009-03-19 Thread karim hamidou
Hi, > Thanks for all your replies. > > The program I'm writing is just a compiler - it's not a parser generator. > > An example of the sort of change I had in mind was perhaps changing > how memory is allocated, in a way which may not be possible by just > overriding YYMALLOC etc. A small edit to

Help resolving a conflict

2009-03-19 Thread Clarke
I am a total newbie, and can't seem to resolve a conflict with this rule: %nonassoc LOWER_PRECEDENCE_TOKEN condStmt: TOKEN_IF TOKEN_LEFTPAREN expression TOKEN_RIGHTPAREN statement %prec LOWER_PRECEDENCE_TOKEN | TOKEN_IF TOKEN_LEFTPAREN expression TO

Re: Help resolving a conflict

2009-03-19 Thread Hans Aberg
On 20 Mar 2009, at 00:25, Clarke wrote: I am a total newbie, and can't seem to resolve a conflict with this rule: %nonassoc LOWER_PRECEDENCE_TOKEN Look into the .output file that Bison can generate, for the state with the conflicting rules, and the parsing dot "." in those. Then apply toke