> On 26 Apr 2016, at 21:39, Simon Sobisch <simonsobi...@gnu.org> wrote:

> If the unexpected %s is not in the reserved words list currently active
> because of the compiler configuration but is in the global one we add
> another line to the warning, something like "%s not supported with std %s".
> 
> How can this be achieved?

Perhaps you might add an argument with additional info using %parse-param, 
affecting both yyparse and yyerror; see the manual, sec. 4.1, "The Parser 
Function yyparse".



_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to