|
From: | August Karlstrom |
Subject: | Re: Calling yyerror with non-literal parameter triggers warning |
Date: | Tue, 20 Aug 2019 18:41:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 2019-08-20 00:46, Kaz Kylheku wrote:
On 2019-08-19 13:05, August Karlstrom wrote:As the warning suggests, GNU Bison should instead generate the call yyerror ("%s", yymsgp);That would almost certainly be wrong, since yyerror is a one-argument function; its prototype is void yyerror(const char *);
I see, then it's not a bug. Thanks for the clarification. -- August
[Prev in Thread] | Current Thread | [Next in Thread] |