Re: [sqlite] Report a warning bug about Lemon parser

2015-01-23 Thread Richard Hipp
On 1/22/15, Tang Tianyong wrote: > Hi, yy_destructor function can not suppress warning about unused > %extra_argument variable. Sure it can. Just add code to one of your destructors that references the %extra_argument variable. It doesn't have to actually do anything with the

[sqlite] Report a warning bug about Lemon parser

2015-01-23 Thread Tang Tianyong
Hi, yy_destructor function can not suppress warning about unused %extra_argument variable. My yy_destructor function that Lemon generated like this: ``` static void yy_destructor( yyParser *yypParser,/* The parser */ YYCODETYPE yymajor, /* Type code for object to destroy */