4 Changes in version 1.32a:
7 Changes in version 1.32, 2002-01-23:
9 * Fix Yacc output file names
13 * Italian, Dutch translations
15 Changes in version 1.31, 2002-01-14:
19 * GNU Gettext and %expect
20 GNU Gettext asserts 10 s/r conflicts, but there are 7. Now that
21 Bison dies on incorrect %expectations, we fear there will be
22 too many bug reports for Gettext, so _for the time being_, %expect
23 does not trigger an error when the input file is named `plural.y'.
25 * Use of alloca in parsers
26 If YYSTACK_USE_ALLOCA is defined to 0, then the parsers will use
27 malloc exclusively. Since 1.29, but was not NEWS'ed.
29 alloca is used only when compiled with GCC, to avoid portability
32 * When the generated parser lacks debugging code, YYDEBUG is now 0
33 (as POSIX requires) instead of being undefined.
36 Bison has always permitted actions such as { $$ = $1 }: it adds the
37 ending semicolon. Now if in Yacc compatibility mode, the semicolon
38 is no longer output: one has to write { $$ = $1; }.
40 * Better C++ compliance
41 The output parsers try to respect C++ namespaces.
44 Fixed bugs when reporting useless nonterminals.
47 The parsers work properly on 64 bit hosts.
50 Some calls to strerror resulted in scrambled or missing error messages.
53 When the number of shift/reduce conflicts is correct, don't issue
56 * The verbose report includes the rule line numbers.
58 * Rule line numbers are fixed in traces.
63 Verbose parse error messages from the parsers are better looking.
64 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
65 Now: parse error: unexpected '/', expecting "number" or '-' or '('
67 * Fixed parser memory leaks.
68 When the generated parser was using malloc to extend its stacks, the
69 previous allocations were not freed.
71 * Fixed verbose output file.
72 Some newlines were missing.
73 Some conflicts in state descriptions were missing.
75 * Fixed conflict report.
76 Option -v was needed to get the result.
80 Mismatches are errors, not warnings.
82 * Fixed incorrect processing of some invalid input.
84 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
86 * Fixed some typos in the documentation.
88 * %token MY_EOF 0 is supported.
89 Before, MY_EOF was silently renumbered as 257.
91 * doc/refcard.tex is updated.
93 * %output, %file-prefix, %name-prefix.
97 New, aliasing `--output-file'.
99 Changes in version 1.30, 2001-10-26:
101 * `--defines' and `--graph' have now an optionnal argument which is the
102 output file name. `-d' and `-g' do not change, they do not take any
105 * `%source_extension' and `%header_extension' are removed, failed
110 Changes in version 1.29, 2001-09-07:
112 * The output file does not define const, as this caused problems when used
113 with common autoconfiguration schemes. If you still use ancient compilers
114 that lack const, compile with the equivalent of the C compiler option
115 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
117 * Added `-g' and `--graph'.
119 * The Bison manual is now distributed under the terms of the GNU FDL.
121 * The input and the output files has automatically a similar extension.
123 * Russian translation added.
125 * NLS support updated; should hopefully be less troublesome.
127 * Added the old Bison reference card.
129 * Added `--locations' and `%locations'.
131 * Added `-S' and `--skeleton'.
133 * `%raw', `-r', `--raw' is disabled.
135 * Special characters are escaped when output. This solves the problems
136 of the #line lines with path names including backslashes.
139 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
140 `%debug', `%source_extension' and `%header_extension'.
143 Automatic location tracking.
145 Changes in version 1.28, 1999-07-06:
147 * Should compile better now with K&R compilers.
151 * Fixed a problem with escaping the double quote character.
153 * There is now a FAQ.
155 Changes in version 1.27:
157 * The make rule which prevented bison.simple from being created on
158 some systems has been fixed.
160 Changes in version 1.26:
162 * Bison now uses automake.
164 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
166 * Token numbers now start at 257 as previously documented, not 258.
168 * Bison honors the TMPDIR environment variable.
170 * A couple of buffer overruns have been fixed.
172 * Problems when closing files should now be reported.
174 * Generated parsers should now work even on operating systems which do
175 not provide alloca().
177 Changes in version 1.25, 1995-10-16:
179 * Errors in the input grammar are not fatal; Bison keeps reading
180 the grammar file, and reports all the errors found in it.
182 * Tokens can now be specified as multiple-character strings: for
183 example, you could use "<=" for a token which looks like <=, instead
184 of chosing a name like LESSEQ.
186 * The %token_table declaration says to write a table of tokens (names
187 and numbers) into the parser file. The yylex function can use this
188 table to recognize multiple-character string tokens, or for other
191 * The %no_lines declaration says not to generate any #line preprocessor
192 directives in the parser file.
194 * The %raw declaration says to use internal Bison token numbers, not
195 Yacc-compatible token numbers, when token names are defined as macros.
197 * The --no-parser option produces the parser tables without including
198 the parser engine; a project can now use its own parser engine.
199 The actions go into a separate file called NAME.act, in the form of
200 a switch statement body.
202 Changes in version 1.23:
204 The user can define YYPARSE_PARAM as the name of an argument to be
205 passed into yyparse. The argument should have type void *. It should
206 actually point to an object. Grammar actions can access the variable
207 by casting it to the proper pointer type.
209 Line numbers in output file corrected.
211 Changes in version 1.22:
215 Changes in version 1.20:
217 Output file does not redefine const for C++.