On Tue, 16 Mar 2010, [email protected] wrote: > The parsing algorithm works fine, however, I was not able to find a safe way > how to > access "yytext" or another global variable in semantic > actions that represents the terminal's attribute (the current yytext > corresponding to a terminal).
Even in deterministic parsers, accessing yytext in the semantic actions can be problematic. To learn the right way to do this in deterministic and GLR parsers, look for terms like "semantic value", "yylval", and "$$" in the Bison manual. > Or could you redirect me, where could I ask, I know that this mailing list is > intended > mainly for bugs. [email protected] is a better list.
