* NEWS: Reword the post-2.3 change to not be so optimistic about

removing the old "look-ahead" spelling.
Update previous look-ahead/lookahead change reports.
* REFERENCES: look-ahead -> lookahead (since that's
what he actually wrote).
* doc/refcard.tex: look ahead -> lookahead,
look-ahead -> lookahead
This commit is contained in:
Paul Eggert
2006-06-11 08:16:04 +00:00
parent 742e4900c8
commit 9e6e7ed2b2
4 changed files with 19 additions and 9 deletions

View File

@@ -1,3 +1,13 @@
2006-06-11 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Reword the post-2.3 change to not be so optimistic about
removing the old "look-ahead" spelling.
Update previous look-ahead/lookahead change reports.
* REFERENCES: look-ahead -> lookahead (since that's
what he actually wrote).
* doc/refcard.tex: look ahead -> lookahead,
look-ahead -> lookahead
2006-06-09 Joel E. Denny <jdenny@ces.clemson.edu> 2006-06-09 Joel E. Denny <jdenny@ces.clemson.edu>
For consistency, use `lookahead' instead of `look-ahead' or For consistency, use `lookahead' instead of `look-ahead' or

10
NEWS
View File

@@ -4,7 +4,8 @@ Bison News
Changes in version 2.3+: Changes in version 2.3+:
* The option `--report=look-ahead' has been changed to `--report=lookahead'. * The option `--report=look-ahead' has been changed to `--report=lookahead'.
The old spelling still works but is not documented and will be removed. The old spelling still works, but is not documented and may be removed
in a future release.
Changes in version 2.3, 2006-06-05: Changes in version 2.3, 2006-06-05:
@@ -164,8 +165,7 @@ Changes in version 2.0, 2004-12-25:
This is a GNU extension. This is a GNU extension.
- The option `--report=lookahead' was changed to `--report=look-ahead'. - The option `--report=lookahead' was changed to `--report=look-ahead'.
The old spelling still works, but is not documented and will be [However, this was changed back after 2.3.]
removed.
- Experimental %destructor support has been added to lalr1.cc. - Experimental %destructor support has been added to lalr1.cc.
@@ -432,8 +432,8 @@ Changes in version 1.50, 2002-10-04:
produces additional information: produces additional information:
- itemset - itemset
complete the core item sets with their closure complete the core item sets with their closure
- lookahead [changed to `look-ahead' in 1.875e and later] - lookahead [changed to `look-ahead' in 1.875e through 2.3, but changed back]
explicitly associate look-ahead tokens to items explicitly associate lookahead tokens to items
- solved - solved
describe shift/reduce conflicts solving. describe shift/reduce conflicts solving.
Bison used to systematically output this information on top of Bison used to systematically output this information on top of

View File

@@ -19,7 +19,7 @@ kludges that Johnson had to perpetrate to make Yacc fit in a PDP-11.
Also, Bison uses a faster but less space-efficient encoding for the Also, Bison uses a faster but less space-efficient encoding for the
parse tables (see Corbett's PhD thesis from Berkeley, "Static parse tables (see Corbett's PhD thesis from Berkeley, "Static
Semantics in Compiler Error Recovery", June 1985, Report No. UCB/CSD Semantics in Compiler Error Recovery", June 1985, Report No. UCB/CSD
85/251), and more modern technique for generating the look-ahead sets. 85/251), and more modern technique for generating the lookahead sets.
(See Frank DeRemer and Thomas Pennello, "Efficient Computation of (See Frank DeRemer and Thomas Pennello, "Efficient Computation of
LALR(1) Look-Ahead Sets", ACM Transactions on Programming Languages LALR(1) Look-Ahead Sets", ACM Transactions on Programming Languages
and Systems (TOPLAS) 4, 4 (October 1982), 615-649. Their and Systems (TOPLAS) 4, 4 (October 1982), 615-649. Their

View File

@@ -458,7 +458,7 @@ as either {\tt first_column} or {\tt last_column}.
\section {Variables and Types} \section {Variables and Types}
%***************************** %*****************************
\key{Current look ahead token.} {yychar} \key{Current lookahead token.} {yychar}
\key{Debug mode flag.} {yydebug} \key{Debug mode flag.} {yydebug}
\key{Data associated with the current token.} {yylval} \key{Data associated with the current token.} {yylval}
\key{Source position of current token.} {yylloc} \key{Source position of current token.} {yylloc}
@@ -489,8 +489,8 @@ as either {\tt first_column} or {\tt last_column}.
\key{Quit parsing immediately. Return 1.} {YYABORT} \key{Quit parsing immediately. Return 1.} {YYABORT}
\key{Quit parsing immediately. Return 0.} {YYACCEPT} \key{Quit parsing immediately. Return 0.} {YYACCEPT}
\key{Pretend a syntax error occurred.} {YYERROR} \key{Pretend a syntax error occurred.} {YYERROR}
\key{Value in {\tt yychar} if no look-ahead token.} {YYEMPTY} \key{Value in {\tt yychar} if no lookahead token.} {YYEMPTY}
\key{Clear previous look ahead token.} {yyclearin} \key{Clear previous lookahead token.} {yyclearin}
\key{Recover normally from an error.} {yyerrok} \key{Recover normally from an error.} {yyerrok}
% ************** % **************