4 Changes in version 1.33b:
6 * A missing `;' ending a rule triggers a warning
7 In accordance with POSIX, and in agreement with other
8 Yacc implementations, Bison will mandate this semicolon in a near
9 future. This eases the implementation of a Bison parser of Bison
10 grammars by making this grammar LALR(1) instead of LR(2). To
11 facilitate the transition, this release introduces a warning.
13 * Revert the C++ namespace changes introduced in 1.31, as they caused too
14 many portability hassles.
16 * DJGPP support added.
18 * Fix portability problems within the test suite.
20 Changes in version 1.33, 2002-02-07:
23 Groff could not be compiled for the definition of size_t was lacking
24 under some conditions.
29 Changes in version 1.32, 2002-01-23:
31 * Fix Yacc output file names
35 * Italian, Dutch translations
37 Changes in version 1.31, 2002-01-14:
41 * GNU Gettext and %expect
42 GNU Gettext asserts 10 s/r conflicts, but there are 7. Now that
43 Bison dies on incorrect %expectations, we fear there will be
44 too many bug reports for Gettext, so _for the time being_, %expect
45 does not trigger an error when the input file is named `plural.y'.
47 * Use of alloca in parsers
48 If YYSTACK_USE_ALLOCA is defined to 0, then the parsers will use
49 malloc exclusively. Since 1.29, but was not NEWS'ed.
51 alloca is used only when compiled with GCC, to avoid portability
54 * When the generated parser lacks debugging code, YYDEBUG is now 0
55 (as POSIX requires) instead of being undefined.
58 Bison has always permitted actions such as { $$ = $1 }: it adds the
59 ending semicolon. Now if in Yacc compatibility mode, the semicolon
60 is no longer output: one has to write { $$ = $1; }.
62 * Better C++ compliance
63 The output parsers try to respect C++ namespaces.
64 [This turned out to be a failed experiment, and it was reverted later.]
67 Fixed bugs when reporting useless nonterminals.
70 The parsers work properly on 64 bit hosts.
73 Some calls to strerror resulted in scrambled or missing error messages.
76 When the number of shift/reduce conflicts is correct, don't issue
79 * The verbose report includes the rule line numbers.
81 * Rule line numbers are fixed in traces.
86 Verbose parse error messages from the parsers are better looking.
87 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
88 Now: parse error: unexpected '/', expecting "number" or '-' or '('
90 * Fixed parser memory leaks.
91 When the generated parser was using malloc to extend its stacks, the
92 previous allocations were not freed.
94 * Fixed verbose output file.
95 Some newlines were missing.
96 Some conflicts in state descriptions were missing.
98 * Fixed conflict report.
99 Option -v was needed to get the result.
103 Mismatches are errors, not warnings.
105 * Fixed incorrect processing of some invalid input.
107 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
109 * Fixed some typos in the documentation.
111 * %token MY_EOF 0 is supported.
112 Before, MY_EOF was silently renumbered as 257.
114 * doc/refcard.tex is updated.
116 * %output, %file-prefix, %name-prefix.
120 New, aliasing `--output-file'.
122 Changes in version 1.30, 2001-10-26:
124 * `--defines' and `--graph' have now an optionnal argument which is the
125 output file name. `-d' and `-g' do not change, they do not take any
128 * `%source_extension' and `%header_extension' are removed, failed
133 Changes in version 1.29, 2001-09-07:
135 * The output file does not define const, as this caused problems when used
136 with common autoconfiguration schemes. If you still use ancient compilers
137 that lack const, compile with the equivalent of the C compiler option
138 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
140 * Added `-g' and `--graph'.
142 * The Bison manual is now distributed under the terms of the GNU FDL.
144 * The input and the output files has automatically a similar extension.
146 * Russian translation added.
148 * NLS support updated; should hopefully be less troublesome.
150 * Added the old Bison reference card.
152 * Added `--locations' and `%locations'.
154 * Added `-S' and `--skeleton'.
156 * `%raw', `-r', `--raw' is disabled.
158 * Special characters are escaped when output. This solves the problems
159 of the #line lines with path names including backslashes.
162 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
163 `%debug', `%source_extension' and `%header_extension'.
166 Automatic location tracking.
168 Changes in version 1.28, 1999-07-06:
170 * Should compile better now with K&R compilers.
174 * Fixed a problem with escaping the double quote character.
176 * There is now a FAQ.
178 Changes in version 1.27:
180 * The make rule which prevented bison.simple from being created on
181 some systems has been fixed.
183 Changes in version 1.26:
185 * Bison now uses automake.
187 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
189 * Token numbers now start at 257 as previously documented, not 258.
191 * Bison honors the TMPDIR environment variable.
193 * A couple of buffer overruns have been fixed.
195 * Problems when closing files should now be reported.
197 * Generated parsers should now work even on operating systems which do
198 not provide alloca().
200 Changes in version 1.25, 1995-10-16:
202 * Errors in the input grammar are not fatal; Bison keeps reading
203 the grammar file, and reports all the errors found in it.
205 * Tokens can now be specified as multiple-character strings: for
206 example, you could use "<=" for a token which looks like <=, instead
207 of chosing a name like LESSEQ.
209 * The %token_table declaration says to write a table of tokens (names
210 and numbers) into the parser file. The yylex function can use this
211 table to recognize multiple-character string tokens, or for other
214 * The %no_lines declaration says not to generate any #line preprocessor
215 directives in the parser file.
217 * The %raw declaration says to use internal Bison token numbers, not
218 Yacc-compatible token numbers, when token names are defined as macros.
220 * The --no-parser option produces the parser tables without including
221 the parser engine; a project can now use its own parser engine.
222 The actions go into a separate file called NAME.act, in the form of
223 a switch statement body.
225 Changes in version 1.23:
227 The user can define YYPARSE_PARAM as the name of an argument to be
228 passed into yyparse. The argument should have type void *. It should
229 actually point to an object. Grammar actions can access the variable
230 by casting it to the proper pointer type.
232 Line numbers in output file corrected.
234 Changes in version 1.22:
238 Changes in version 1.20:
240 Output file does not redefine const for C++.