help-bison
[Top][All Lists]
Advanced

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

Re: accessing yyval outside lex and yacc


From: Akim Demaille
Subject: Re: accessing yyval outside lex and yacc
Date: 20 Jul 2001 18:50:26 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)

>>>>> "Manju" == Manju James <address@hidden> writes:

Manju> Initially, i had had a brief look at YYPARSE_PARAM - but it
Manju> seemed a bit complicated and i wasnt very keen on using it.  it
Manju> seems that one has to be really clued up on Bison to use it -
Manju> and i am far from it.

Well, consider it a programming language.  Yes, the learning curve can
be steep, but the documentation is _excellent_.


Manju> i am thinking of using the wrapper function u suggested, later,
Manju> though - (when i get all the bugs out of my buggy code ;-}).

May the --verbose be with you.


Manju> Another puzzle to me though, Hans is the fact that u use a
Manju> class definition for YYSTYPE - i was under the impression that
Manju> one had to use %union to define YYSTPE?

Hans has developed a programming style to use plain Bison for C++
code.  It is probably too soon for you to get into it.  Actually, I
don't even remember whether you C++.



reply via email to

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