mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
Rename identifiers to avoid real and potential collisions.
This commit is contained in:
27
ChangeLog
27
ChangeLog
@@ -1,3 +1,30 @@
|
|||||||
|
2002-11-27 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
|
Rename identifiers to avoid real and potential collisions.
|
||||||
|
|
||||||
|
* data/c.m4 (b4_yysymprint_generate): yyout -> yyoutput,
|
||||||
|
to avoid collision with lex macro described by Bruce Lilly in
|
||||||
|
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001929.html>.
|
||||||
|
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise.
|
||||||
|
* doc/bison.texinfo (Prologue, Tracing): yyprint -> print_token_value.
|
||||||
|
* src/parse-gram.y (print_token_value): Renamed from yyprint.
|
||||||
|
All uses changed.
|
||||||
|
(YYPARSE_PARAM, YYLEX_PARAM, yycontrol): Remove. All uses changed.
|
||||||
|
The name "yycontrol" violates the name space rules, and this stuff
|
||||||
|
wasn't being used anyway.
|
||||||
|
(input): Remove action; this stuff wasn't being used.
|
||||||
|
(gram_error): Rename local variable yylloc -> loc.
|
||||||
|
* src/reader.h (struct gram_control_s, gram_control_t): Remove.
|
||||||
|
(YY_DECL): Don't use "yy" at start of local variables.
|
||||||
|
All uses changed, e.g., yylloc -> loc.
|
||||||
|
* src/scan-gram.l (STEP): Renamed from YY_STEP. All uses changed.
|
||||||
|
(STRING_GROW): Renamed from YY_OBS_GROW. All uses changed.
|
||||||
|
(STRING_FINISH): Renamed from YY_OBS_FINISH. All uses changed.
|
||||||
|
(STRING_FREE): Renamed from YY_OBS_FREE. All uses changed.
|
||||||
|
|
||||||
|
* src/parse-gram.y (gram_error): loc is now const *.
|
||||||
|
* src/reader.h (gram_error): Likewise.
|
||||||
|
|
||||||
2002-11-24 Paul Eggert <eggert@twinsun.com>
|
2002-11-24 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
Version 1.75c.
|
Version 1.75c.
|
||||||
|
|||||||
Reference in New Issue
Block a user