[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison version 1.875e available for testing
From: |
Laurence Finston |
Subject: |
Re: Bison version 1.875e available for testing |
Date: |
Wed, 15 Dec 2004 14:58:13 +0100 (MET) |
On Wed, 15 Dec 2004, Akim Demaille wrote:
> >>> "Laurence" == Laurence Finston <address@hidden> writes:
>
> > Does this make it possible to declare local automatic
> > variables in `yyparse()'?
>
> Nope. To a similar end you are expected to use %parse-param.
>
That's what I do. The CWEB section
address@hidden declarations for rules@>' contains code that extracts the
values from the parameter. It just seems a bit wasteful to do this in
every rule, as well as cluttering up my code. For non-threaded
applications it would suffice to use static variables local to the
compilation unit for `yyparse()', but this won't work with threads.
Laurence
- Bison version 1.875e available for testing, Paul Eggert, 2004/12/11
- Re: Bison version 1.875e available for testing, Frank Heckenbach, 2004/12/11
- Re: undefining YYRHSLOC in the GLR parser, Paul Eggert, 2004/12/12
- Re: undefining YYRHSLOC in the GLR parser, Frank Heckenbach, 2004/12/12
- Re: undefining YYRHSLOC in the GLR parser, Paul Eggert, 2004/12/13
- Re: undefining YYRHSLOC in the GLR parser, Frank Heckenbach, 2004/12/14
- Re: undefining YYRHSLOC in the GLR parser, Paul Eggert, 2004/12/14
- Re: undefining YYRHSLOC in the GLR parser, Frank Heckenbach, 2004/12/15
Re: Bison version 1.875e available for testing, Laurence Finston, 2004/12/11
- Re: Bison version 1.875e available for testing, Akim Demaille, 2004/12/15
- Re: Bison version 1.875e available for testing,
Laurence Finston <=
- Re: Bison version 1.875e available for testing, Akim Demaille, 2004/12/15
- Re: Bison version 1.875e available for testing, Laurence Finston, 2004/12/15
- Re: Bison version 1.875e available for testing, Akim Demaille, 2004/12/15
- Re: Bison version 1.875e available for testing, Kelly Leahy, 2004/12/15
- Re: Bison version 1.875e available for testing, Laurence Finston, 2004/12/15