Hi,
I get a lot of warnings in my project. Here is one excerpt of my grammar file:
stmtlist : stmt ';' { printf(".."); }
| stmtlist stmt ';' { printf(".."); }
;
1. line -> warning: unused value: $1
2. line -> warning: unused value: $2
The problem is that I don't want to use
I have the following destructor specified for strings like IDENT.
%destructor { printf ("free at line %d: %s\n",@$.first_line, $$->c_str());
delete($$); }
Now I have the following input. The first line is valid, the second line isn't
(identifier is missing):
ConfigParam p;
ConfigPara