help-bison
[Top][All Lists]
Advanced

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

pure bison yyerror()


From: mike burrell
Subject: pure bison yyerror()
Date: Sun, 12 Nov 2000 08:56:19 -0700
User-agent: Mutt/1.2.5i

excuse me if this is the wrong address to send to.

i'd like to have Bison's error reporting mechanics (i.e. yyerror()) be more
re-entrant friendly and thus pass a re-entrant argument to it (as is already
done with yyparse() via YYPARSE_PARAM and yylex() via YYLEX_PARAM).  i went
through the source code and found that there are only a half-dozen places
that changes would have to be made (in bison.s1, basically adding some
#ifdefs).  i figure that all i'd have to do now is update the documentation
some.

so i'm wondering whether this (YYERROR_PARAM) would be of interest.  i.e. if
i finish the changes and update the documentation, etc. and send someone a
patch, will this get folded in to the next release?

TIA

-- 
 /"\                                                 m i k e   b u r r e l l
 \ /     ASCII RIBBON CAMPAIGN                               address@hidden
  X        AGAINST HTML MAIL,
 / \      AND NEWS TOO, dammit   finger address@hidden for GPG key



reply via email to

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