[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yyerror and pure parsers
From: |
Hans Aberg |
Subject: |
Re: yyerror and pure parsers |
Date: |
Sat, 24 Jan 2004 18:39:53 +0100 |
At 02:18 -0500 2004/01/24, Alfonso Urdaneta wrote:
>wim delvaux wrote:
>
>> Is there any way to access the arguments passed to yyparse
>>(YYPARSE_PARAM or
>> equivalent -- see previous mail) within the yyerror function ?
>
>
>sorry dude, haven't done that stuff before. maybe hans knows.
I have no idea if it is possible to do with the standard skeleton file. But
with Bison's M4 approach, it is fairly easy to write ones own new skeleton
file (by modifying the standard one), where this becomes possible.
If you want such rewrites should be included in future Bison distributions,
that should be discussed in the Bug-Bison list.
Hans Aberg