[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pure bison and YYPARSE_PARAM
From: |
Tim Van Holder |
Subject: |
Re: pure bison and YYPARSE_PARAM |
Date: |
Tue, 27 Jan 2004 08:09:54 +0100 |
> > In newer bison, use
> >
> > %parse-param {my_parse_context_t* my_parse_context}
> > %lex-param {my_lex_context_t* my_lex_context}
> >
> > (one such entry per parameter to pass).
> > [[Info Nodes: {Parser Function}, {Pure Calling}]]
>
> These options are not documented in my bison.info file
> for 1.875.
> I searched for lex-param (with /) or looked at the index.
>
> Which documentation are you referring to ?
The one from a relatively old CVS bison; it is quite possible
that the passages in question were added after the 1.875 release.
But I'm reasonably certain the directives they work in 1.875 as
well.