From: Paul Eggert Date: Fri, 29 Nov 2002 08:45:33 +0000 (+0000) Subject: %parse-param and %lex-param now take just one argument, the X-Git-Tag: BISON-1_875~188 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/88510f9c07fd43c1bb35ee0d727aaa8b6d892d2d %parse-param and %lex-param now take just one argument, the declaration; the argument name is deduced from the declaration. --- diff --git a/ChangeLog b/ChangeLog index 426b5c55..04346a98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2002-11-29 Paul Eggert + + %parse-param and %lex-param now take just one argument, the + declaration; the argument name is deduced from the declaration. + + * doc/bison.texinfo (Parser Function, Pure Calling, Error + Reporting, Table of Symbols): Document this. + * src/parse-gram.y (add_param): New function. + (COMMA): Remove. + (declaration): Implement new rule for %parse-param and %lex-param. + * src/scan-gram.l: "," now elicits a warning, rather than being + a token; this is more compatible with byacc. + * tests/calc.at (Simple LALR Calculator): Adopt new convention. + 2002-11-27 Paul Eggert Rename identifiers to avoid real and potential collisions.