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
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
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