help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building from CVS


From: Bob Rossi
Subject: Re: building from CVS
Date: Wed, 20 Feb 2008 07:00:55 -0500
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

On Tue, Feb 19, 2008 at 09:22:38PM -0500, Bob Rossi wrote:
> On Tue, Feb 19, 2008 at 07:54:16PM -0500, Joel E. Denny wrote:
> > On Tue, 19 Feb 2008, Claudio Saavedra wrote:
> > 
> > > El mar, 19-02-2008 a las 19:21 -0500, Joel E. Denny escribió:
> > > > 
> > > > Obviously this is caused by my recent renaming of push.c to yacc.c,
> > > > but I don't know what to do to update the translations.  Maybe we just
> > > > have to wait for the translators to get to it?  I know very little
> > > > about translations.
> > > 
> > > Removing data/push.c from runtime-po/POTFILES.in should help.
> > 
> > Thanks.  It seems I can't use grep correctly this week.
> 
> OK, it works now. Thank you.
> 
> Hopefully I'll find some time soon to try out the new changes.

Hi,

My next error was this, I only added,
  %define api.push_pull "push"
to my bison input file. That caused this compiler error,
  if gcc -DHAVE_CONFIG_H -I. -I../../../../cgdb/lib/gdbmi/src -I..    
-I../../../../cgdb/lib/gdbmi/src/mi_oc_parser -g -O2 -MT gdbmi_grammar.o -MD 
-MP -MF ".deps/gdbmi_grammar.Tpo" -c -o gdbmi_grammar.o 
../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c; \
          then mv -f ".deps/gdbmi_grammar.Tpo" ".deps/gdbmi_grammar.Po"; else 
rm -f ".deps/gdbmi_grammar.Tpo"; exit 1; fi
  ../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c: In function 
‘gdbmi_pstate_new’:
  ../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c:1226: error: 
‘yypstate_allocated’ undeclared (first use in this function)
  ../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c:1226: error: (Each undeclared 
identifier is reported only once
  ../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c:1226: error: for each function 
it appears in.)
  ../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c: In function 
‘gdbmi_pstate_delete’:
  ../../../../cgdb/lib/gdbmi/src/gdbmi_grammar.c:1256: error: 
‘yypstate_allocated’ undeclared (first use in this function)
  make[5]: *** [gdbmi_grammar.o] Error 1
  make[5]: Leaving directory 
`/home/bob/rcs/svn/cgdb/trunk-gdbmi/build/lib/gdbmi/src'
of course, this happens because of this code in yacc.c,
  }]b4_pure_if([], [[

  static char yypstate_allocated = 0;]])[
so I had to add,
  %define api.pure

Is this what you would expect or is this a regression? I'm pretty sure
you were pushing for both pure and non pure push parsers.

Bob Rossi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]