]> git.saurik.com Git - bison.git/blame_incremental - NEWS
* tests/regression.at (Web2c Actions): Blindly move the actual
[bison.git] / NEWS
... / ...
CommitLineData
1Bison News
2----------
3
4Changes in version 1.49a:
5
6* Items overflow
7 Bison no longer dumps core when there are too many items, it just
8 dies.
9
10* Token end-of-file
11 The token end of file may be specified by the user, in which case,
12 the user symbol is used in the reports, the graphs, and the verbose
13 error messages instead of `$', which remains being the defaults.
14 For instance
15 %token YYEOF 0
16 or
17 %token YYEOF 0 "end of file"
18\f
19Changes in version 1.30:
20
21* `--defines' and `--graph' have now an optionnal argument which is the
22 output file name. `-d' and `-g' do not change, they do not take any
23 argument.
24
25* `%source_extension' and `%header_extension' are removed, failed
26 experiment.
27
28* Portability fixes.
29\f
30Changes in version 1.29, 2001-09-07:
31
32* The output file does not define const, as this caused problems when used
33 with common autoconfiguration schemes. If you still use ancient compilers
34 that lack const, compile with the equivalent of the C compiler option
35 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
36
37* Added `-g' and `--graph'.
38
39* The Bison manual is now distributed under the terms of the GNU FDL.
40
41* The input and the output files has automatically a similar extension.
42
43* Russian translation added.
44
45* NLS support updated; should hopefully be less troublesome.
46
47* Added the old Bison reference card.
48
49* Added `--locations' and `%locations'.
50
51* Added `-S' and `--skeleton'.
52
53* `%raw', `-r', `--raw' is disabled.
54
55* Special characters are escaped when output. This solves the problems
56 of the #line lines with path names including backslashes.
57
58* New directives.
59 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
60 `%debug', `%source_extension' and `%header_extension'.
61
62* @$
63 Automatic location tracking.
64\f
65Changes in version 1.28, 1999-07-06:
66
67* Should compile better now with K&R compilers.
68
69* Added NLS.
70
71* Fixed a problem with escaping the double quote character.
72
73* There is now a FAQ.
74\f
75Changes in version 1.27:
76
77* The make rule which prevented bison.simple from being created on
78 some systems has been fixed.
79\f
80Changes in version 1.26:
81
82* Bison now uses automake.
83
84* New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
85
86* Token numbers now start at 257 as previously documented, not 258.
87
88* Bison honors the TMPDIR environment variable.
89
90* A couple of buffer overruns have been fixed.
91
92* Problems when closing files should now be reported.
93
94* Generated parsers should now work even on operating systems which do
95 not provide alloca().
96\f
97Changes in version 1.25, 1995-10-16:
98
99* Errors in the input grammar are not fatal; Bison keeps reading
100the grammar file, and reports all the errors found in it.
101
102* Tokens can now be specified as multiple-character strings: for
103example, you could use "<=" for a token which looks like <=, instead
104of chosing a name like LESSEQ.
105
106* The %token_table declaration says to write a table of tokens (names
107and numbers) into the parser file. The yylex function can use this
108table to recognize multiple-character string tokens, or for other
109purposes.
110
111* The %no_lines declaration says not to generate any #line preprocessor
112directives in the parser file.
113
114* The %raw declaration says to use internal Bison token numbers, not
115Yacc-compatible token numbers, when token names are defined as macros.
116
117* The --no-parser option produces the parser tables without including
118the parser engine; a project can now use its own parser engine.
119The actions go into a separate file called NAME.act, in the form of
120a switch statement body.
121\f
122Changes in version 1.23:
123
124The user can define YYPARSE_PARAM as the name of an argument to be
125passed into yyparse. The argument should have type void *. It should
126actually point to an object. Grammar actions can access the variable
127by casting it to the proper pointer type.
128
129Line numbers in output file corrected.
130\f
131Changes in version 1.22:
132
133--help option added.
134\f
135Changes in version 1.20:
136
137Output file does not redefine const for C++.
138
139Local Variables:
140mode: outline
141End: