help-bison
[Top][All Lists]
Advanced

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

Re: Passing filled AST to yyparse() caller after successful parse


From: Hans Aberg
Subject: Re: Passing filled AST to yyparse() caller after successful parse
Date: Sun, 8 May 2005 18:50:33 +0200

At 12:11 -0400 2005/05/08, Jeannot Langlois wrote:
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 Hi Hans (and Hi all), Just a few minutes after I posted the question to the mailing list, I found what I was looking for. It works. Apparently, when using a reentrant GLR parser, I need to define an (additional) %parse-param { ... } so I can pass the resulting AST pointer to yyparse(),

I am aware of this one, but I was not sure if it resulted in a pure parser. There was a discussion here or in Bug-Bison on some problems with %glr, but I do not remember exactly it was. -- Error recovery perhaps.
--
  Hans Aberg




reply via email to

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