help-bison
[Top][All Lists]
Advanced

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

Re: too many gotos


From: Laurence Finston
Subject: Re: too many gotos
Date: Wed, 13 Oct 2004 13:24:22 +0200 (MEST)

On Wed, 13 Oct 2004, Nick Chapman wrote:

>
>
> > Since the `gotos' occur in the actions rather than the grammar rules,
> > they are a matter of semantics rather than syntax.  Therefore,
> > it's quite likely that eliminating them won't be too tricky.
> >
> > I've found that it's always possible to eliminate `gotos' by
> > putting code into functions, wrapping it in conditionals, or
> > both.
>
>
> Thank you for your answer. But you misunderstand my problem.
>

> There are no gotos in the actions. In fact I have no actions yet.
> The gotos I am referring to are the LR-parsing table gotos, automatically
> generated by bison.
>

Sorry.  Does your grammar do something unusual?  Are you making your
sources public and can it be downloaded from somewhere?

Laurence




reply via email to

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