[Top][All Lists]

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

The GLR parser doesn't (yet) fully support YYPARSE_PARAM

From: Henrik Grubbström
Subject: The GLR parser doesn't (yet) fully support YYPARSE_PARAM
Date: Sat, 19 Oct 2002 14:53:41 +0200 (MET DST)

While experimenting a bit with the new GLR-parser, I noticed that it
doesn't propagate YYPARSE_PARAM to yydoAction()/yyuserAction().

>From comments in the code it looks like YYPARSE_PARAM is intended to work:

/* The user can define YYPARSE_PARAM as the name of an argument to be passed
   into yyparse.  The argument should have type void *.
   It should actually point to an object.
   Grammar actions can access the variable by casting it
   to the proper pointer type.  */


Henrik Grubbström                                       address@hidden
Roxen Internet Software AB

reply via email to

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