[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: push parser
From: |
Bob Rossi |
Subject: |
Re: push parser |
Date: |
Fri, 13 Oct 2006 15:55:17 -0400 |
User-agent: |
Mutt/1.5.11 |
On Fri, Oct 13, 2006 at 11:17:39AM -0700, Paul Eggert wrote:
> Bob Rossi <address@hidden> writes:
> > If this is the issue, I could force test 90 and 96 to use the
> > skeleton push.c until we merge the two together (probably in a week
> > or so?).
>
> Yes, that sounds good. Can you please prepare a revised patch to do that?
> Thanks.
Yes, I'll submit another patch. I do have a question though. This patch
makes it so that yylex takes parameters like:
static int yylex (YYSTYPE *lvalp, YYLTYPE *llocp)
because now the variables
YYSTYPE my_lval;
YYLTYPE my_lloc;
are local. Everything seems to work but it looks like yyerror also
wants to take the
YYLTYPE *llocp
parameter, instead of being a void*. Should I make it do that?
That would also require changing b4_yyerror_args macro from
# b4_yyerror_args
# ---------------
# Arguments passed to yyerror: user args plus yylloc.
m4_define([b4_yyerror_args],
[b4_yacc_pure_if([b4_locations_if([&yylloc, ])])dnl
m4_ifset([b4_parse_param], [b4_c_args(b4_parse_param), ])])
to
# b4_yyerror_args
# ---------------
# Arguments passed to yyerror: user args plus yylloc.
m4_define([b4_yyerror_args],
[b4_yacc_pure_or_pus_if([b4_locations_if([&yylloc, ])])dnl
m4_ifset([b4_parse_param], [b4_c_args(b4_parse_param), ])])
Does this make sense?
Bob Rossi
- Re: push parser, (continued)
- Re: push parser, Paul Eggert, 2006/10/11
- Re: push parser, Bob Rossi, 2006/10/11
- Re: push parser, Paul Eggert, 2006/10/11
- Re: push parser, Bob Rossi, 2006/10/11
- Re: push parser, Paul Eggert, 2006/10/12
Re: push parser, Bob Rossi, 2006/10/11
- Re: push parser, Bob Rossi, 2006/10/12
- Re: push parser, Paul Eggert, 2006/10/12
- Re: push parser, Bob Rossi, 2006/10/13
- Re: push parser, Paul Eggert, 2006/10/13
- Re: push parser,
Bob Rossi <=
- Re: push parser, Bob Rossi, 2006/10/13
- Re: push parser, Bob Rossi, 2006/10/13
- Re: push parser, Bob Rossi, 2006/10/24