4 Changes in version 1.33a:
6 * Revert the C++ namespace changes introduced in 1.31, as they caused too
7 many portability hassles.
11 * Fix portability problems within the test suite.
13 Changes in version 1.33, 2002-02-07:
16 Groff could not be compiled for the definition of size_t was lacking
17 under some conditions.
22 Changes in version 1.32, 2002-01-23:
24 * Fix Yacc output file names
28 * Italian, Dutch translations
30 Changes in version 1.31, 2002-01-14:
34 * GNU Gettext and %expect
35 GNU Gettext asserts 10 s/r conflicts, but there are 7. Now that
36 Bison dies on incorrect %expectations, we fear there will be
37 too many bug reports for Gettext, so _for the time being_, %expect
38 does not trigger an error when the input file is named `plural.y'.
40 * Use of alloca in parsers
41 If YYSTACK_USE_ALLOCA is defined to 0, then the parsers will use
42 malloc exclusively. Since 1.29, but was not NEWS'ed.
44 alloca is used only when compiled with GCC, to avoid portability
47 * When the generated parser lacks debugging code, YYDEBUG is now 0
48 (as POSIX requires) instead of being undefined.
51 Bison has always permitted actions such as { $$ = $1 }: it adds the
52 ending semicolon. Now if in Yacc compatibility mode, the semicolon
53 is no longer output: one has to write { $$ = $1; }.
55 * Better C++ compliance
56 The output parsers try to respect C++ namespaces.
57 [This turned out to be a failed experiment, and it was reverted later.]
60 Fixed bugs when reporting useless nonterminals.
63 The parsers work properly on 64 bit hosts.
66 Some calls to strerror resulted in scrambled or missing error messages.
69 When the number of shift/reduce conflicts is correct, don't issue
72 * The verbose report includes the rule line numbers.
74 * Rule line numbers are fixed in traces.
79 Verbose parse error messages from the parsers are better looking.
80 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
81 Now: parse error: unexpected '/', expecting "number" or '-' or '('
83 * Fixed parser memory leaks.
84 When the generated parser was using malloc to extend its stacks, the
85 previous allocations were not freed.
87 * Fixed verbose output file.
88 Some newlines were missing.
89 Some conflicts in state descriptions were missing.
91 * Fixed conflict report.
92 Option -v was needed to get the result.
96 Mismatches are errors, not warnings.
98 * Fixed incorrect processing of some invalid input.
100 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
102 * Fixed some typos in the documentation.
104 * %token MY_EOF 0 is supported.
105 Before, MY_EOF was silently renumbered as 257.
107 * doc/refcard.tex is updated.
109 * %output, %file-prefix, %name-prefix.
113 New, aliasing `--output-file'.
115 Changes in version 1.30, 2001-10-26:
117 * `--defines' and `--graph' have now an optionnal argument which is the
118 output file name. `-d' and `-g' do not change, they do not take any
121 * `%source_extension' and `%header_extension' are removed, failed
126 Changes in version 1.29, 2001-09-07:
128 * The output file does not define const, as this caused problems when used
129 with common autoconfiguration schemes. If you still use ancient compilers
130 that lack const, compile with the equivalent of the C compiler option
131 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
133 * Added `-g' and `--graph'.
135 * The Bison manual is now distributed under the terms of the GNU FDL.
137 * The input and the output files has automatically a similar extension.
139 * Russian translation added.
141 * NLS support updated; should hopefully be less troublesome.
143 * Added the old Bison reference card.
145 * Added `--locations' and `%locations'.
147 * Added `-S' and `--skeleton'.
149 * `%raw', `-r', `--raw' is disabled.
151 * Special characters are escaped when output. This solves the problems
152 of the #line lines with path names including backslashes.
155 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
156 `%debug', `%source_extension' and `%header_extension'.
159 Automatic location tracking.
161 Changes in version 1.28, 1999-07-06:
163 * Should compile better now with K&R compilers.
167 * Fixed a problem with escaping the double quote character.
169 * There is now a FAQ.
171 Changes in version 1.27:
173 * The make rule which prevented bison.simple from being created on
174 some systems has been fixed.
176 Changes in version 1.26:
178 * Bison now uses automake.
180 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
182 * Token numbers now start at 257 as previously documented, not 258.
184 * Bison honors the TMPDIR environment variable.
186 * A couple of buffer overruns have been fixed.
188 * Problems when closing files should now be reported.
190 * Generated parsers should now work even on operating systems which do
191 not provide alloca().
193 Changes in version 1.25, 1995-10-16:
195 * Errors in the input grammar are not fatal; Bison keeps reading
196 the grammar file, and reports all the errors found in it.
198 * Tokens can now be specified as multiple-character strings: for
199 example, you could use "<=" for a token which looks like <=, instead
200 of chosing a name like LESSEQ.
202 * The %token_table declaration says to write a table of tokens (names
203 and numbers) into the parser file. The yylex function can use this
204 table to recognize multiple-character string tokens, or for other
207 * The %no_lines declaration says not to generate any #line preprocessor
208 directives in the parser file.
210 * The %raw declaration says to use internal Bison token numbers, not
211 Yacc-compatible token numbers, when token names are defined as macros.
213 * The --no-parser option produces the parser tables without including
214 the parser engine; a project can now use its own parser engine.
215 The actions go into a separate file called NAME.act, in the form of
216 a switch statement body.
218 Changes in version 1.23:
220 The user can define YYPARSE_PARAM as the name of an argument to be
221 passed into yyparse. The argument should have type void *. It should
222 actually point to an object. Grammar actions can access the variable
223 by casting it to the proper pointer type.
225 Line numbers in output file corrected.
227 Changes in version 1.22:
231 Changes in version 1.20:
233 Output file does not redefine const for C++.