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