bison-patches
[Top][All Lists]
Advanced

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

Re: Bison version 1.875e available for testing


From: Akim Demaille
Subject: Re: Bison version 1.875e available for testing
Date: Wed, 15 Dec 2004 18:02:08 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

>>> "Laurence" == Laurence Finston <address@hidden> writes:

 > Perhaps I've misunderstood what you mean by `%parse-param', and I haven't
 > looked it up.

Then I suggest you do.

 > I generate a reentrant parser and make use of the ability to pass
 > an object by means of a `void*' to `yyparse()'.  I use a unique
 > object for each call to `yyparse()' so I can use the data members
 > of that object in lieu of local automatic variables in `yyparse()'.

%parse-param is the same, but better designed.  And you can pass
several arguments, which gives you several variables.  Some static,
some not: it's up to you.





reply via email to

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