help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

yyerror and pure parsers


From: wim delvaux
Subject: yyerror and pure parsers
Date: Sat, 24 Jan 2004 00:30:20 +0100
User-agent: KMail/1.5.4

Hi all,

Is there any way to access the arguments passed to yyparse (YYPARSE_PARAM or 
equivalent -- see previous mail) within the yyerror function ?

Is this not a missing feature ? Eg. if you want to print line number 
information in that message, you need to access yyget_lineno(Lexer) but 
yyerror only has char * msg as argument ?

Huh ?

W





reply via email to

[Prev in Thread] Current Thread [Next in Thread]