[prog] Yacc - double errors
Sue Stones
suzo at spin.net.au
Tue Feb 10 15:43:00 EST 2004
On Tue, 10 Feb 2004 01:55 pm, Sue Stones wrote:
> The impression I get is that it is calling the yyerror routine twice, once
> automaticaly, and once when I call it. But there is nothing in the
> documentation that I have that mentions how this might be happening.
Having written this helped clear my head. Re reading the book, and doing
things diferently has shown that this is exactally what happend. Using the
error token actually calls yyerror.
so I think I have this sorted out now.
Not sure about EOF yet though.
sue
More information about the Programming
mailing list