[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there an option to change the message produced by YYERROR_VERBOSE
From: |
Hans Åberg |
Subject: |
Re: Is there an option to change the message produced by YYERROR_VERBOSE? |
Date: |
Tue, 26 Apr 2016 23:52:34 +0200 |
> On 26 Apr 2016, at 21:39, Simon Sobisch <address@hidden> 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".
Re: Is there an option to change the message produced by YYERROR_VERBOSE?, Hans Åberg, 2016/04/26
Re: Is there an option to change the message produced by YYERROR_VERBOSE?, Matthias Simon, 2016/04/27