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