[Top][All Lists]

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

Re: %parse-param support for

From: Akim Demaille
Subject: Re: %parse-param support for
Date: Wed, 14 May 2003 18:19:49 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

| Here is a tentative patch to add %parse-param support to
| The extra parameters are passed to the constructor and stored in
| instance variables.
| (I mailed my assignment back to the FSF yesterday.)
| 2003-05-14  Alexandre Duret-Lutz  <address@hidden>
|       %parse-param support for
|       * data/ (b4_parse_param_decl, b4_parse_param_cons,
|       b4_cc_constructor_calls, b4_cc_constructor_call,
|       b4_parse_param_vars, b4_cc_var_decls, b4_cc_var_decl): New m4
|       definitions.
|       (yy::b4_parser_class_name::b4_parser_class_name): Take extra
|       parse-param arguments.
|       (yy::b4_parser_class_name): Declare instance variables to
|       hold parse-param arguments.
|       * tests/ s/value/semantic_value/ because value clashes
|       with a member of yy::b4_parser_class_name.  Adjust C++ code
|       to handle %parse-param.  Enable %parse-param test in C++.

Excellent!  Please, install it, I know your files are in the queue.

reply via email to

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