On Sun, Jan 17, 2010 at 02:14:14PM -0500, Joel E. Denny wrote:
> On Sun, 17 Jan 2010, Joel E. Denny wrote:
>
> > The section of the manual you want is:
> >
> >
> > http://www.gnu.org/software/bison/manual/html_node/Error-Reporting.html#Error-Reporting
> >
> > As you'll read there, to convince
On Sun, 17 Jan 2010, Joel E. Denny wrote:
> The section of the manual you want is:
>
>
> http://www.gnu.org/software/bison/manual/html_node/Error-Reporting.html#Error-Reporting
>
> As you'll read there, to convince the deterministic parser in C to pass a
> location to yyerror, you need to sp
On Sat, 16 Jan 2010, Tom Stellard wrote:
> I am trying to add line numbers to my parser's error messages. I have
> included the options, %locations and %define api.pure in my bison
> definition file, but it seems to be generating yyerror with this signature:
> yyerror(const char *msg);
> instead
Il 17/01/2010 7.18, Tom Stellard ha scritto:
Hi,
I am trying to add line numbers to my parser's error messages. I have
included the options, %locations and %define api.pure in my bison
definition file, but it seems to be generating yyerror with this signature:
yyerror(const char *msg);
instead
Hi,
I am trying to add line numbers to my parser's error messages. I have
included the options, %locations and %define api.pure in my bison
definition file, but it seems to be generating yyerror with this signature:
yyerror(const char *msg);
instead of the signature I am expecting:
yyerror (YYLTY