|
From: | Hans Aberg |
Subject: | Re: Passing filled AST to yyparse() caller after successful parse |
Date: | Sun, 8 May 2005 11:46:51 +0200 |
At 17:47 -0400 2005/05/07, Jeannot Langlois wrote:
In a reentrant GLR parser, how must the yyparse() caller proceed to access the filled AST after a successful parse? I was expecting yyparse() to return a pointer (whose type could be custom-defined by the user just like the yylex() and yyparse() input parameters) to the properly-filled AST, but it seems that this is not the case and the yyparse() return value is only used to return a parse status code.Any ideas or documentation pointers about that?
I am not sure the %glr parser currently works in pure mode. Let's cc Paul Hilfinger, who wrote it, to see if he can let us know.
-- Hans Aberg
[Prev in Thread] | Current Thread | [Next in Thread] |