help-bison
[Top][All Lists]
Advanced

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

Re: stack access


From: Hans Aberg
Subject: Re: stack access
Date: Sat, 8 Jun 2002 13:44:34 +0200

At 14:45 +0200 2002/06/07, Fiordean Dacian wrote:
>Does anybody knows how I could access the stack in  other fashion then
>using $* params?

It is generally bad to implement such things, because it may become
dependent on the parser implementation.

>    I have a production where I wish to check tha state  of the stack
>using a >sort of $(-2) (or using yyvsp var) parameter, but I need  the
>token identifier >that corresponds to this position.

Could you give some more input on how you want to use it? -- Perhaps
somebody on this list may recognize better solutions to your problem.

  Hans Aberg





reply via email to

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