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