4 Changes in version 1.30l:
7 Missing portability files.
9 Changes in version 1.30k:
12 The AIX portability issue seems to be solved: strnlen was the
15 Changes in version 1.30j:
17 * GNU Gettext and %expect
18 GNU Gettext asserts 10 s/r conflicts, but there are 7. Now that
19 Bison dies on incorrect %expectations, we fear there will be
20 too many bug reports for Gettext, so _for the time being_, %expect
21 does not trigger an error when the input file is named `plural.y'.
23 Changes in version 1.30i:
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
34 Changes in version 1.30h:
36 * When the generated parser lacks debugging code, YYDEBUG is now 0
37 (as POSIX requires) instead of being undefined.
40 Bison has always permitted actions such as { $$ = $1 }: it adds the
41 ending semicolon. Now if in Yacc compatibility mode, the semicolon
42 is no longer output: one has to write { $$ = $1; }.
44 Changes in version 1.30g:
48 * Better C++ compliance
49 The output parsers try to respect C++ namespaces.
51 Changes in version 1.30f:
54 Fixed bugs when reporting useless nonterminals.
57 The parsers work properly on 64 bit hosts.
59 Changes in version 1.30e:
62 Some calls to strerror resulted in scrambled or missing error messages.
65 When the number of shift/reduce conflicts is correct, don't issue
68 * The verbose report includes the rule line numbers.
70 * Rule line numbers are fixed in traces.
72 Changes in version 1.30d:
77 Verbose parse error messages from the parsers are better looking.
78 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
79 Now: parse error: unexpected '/', expecting "number" or '-' or '('
82 Was broken when strings aliases for symbols were used.
84 Changes in version 1.30c:
86 * Fixed a few warnings.
88 * Some portability issues.
90 Changes in version 1.30b:
92 * Fixed parser memory leaks.
93 When the generated parser was using malloc to extend its stacks, the
94 previous allocations were not freed.
96 * Fixed verbose output file.
97 Some newlines were missing.
98 Some conflicts in state descriptions were missing.
100 * Fixed conflict report.
101 Option -v was needed to get the result.
105 Mismatches are errors, not warnings.
107 * Fixed incorrect processing of some invalid input.
109 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
111 * Fixed some typos in the documentation.
113 * %token MY_EOF 0 is supported.
114 Before, MY_EOF was silently renumbered as 257.
116 * doc/refcard.tex is updated.
118 * %output, %file-prefix, %name-prefix.
122 New, aliasing `--output-file'.
124 Changes in version 1.30, 2001-10-26:
126 * `--defines' and `--graph' have now an optionnal argument which is the
127 output file name. `-d' and `-g' do not change, they do not take any
130 * `%source_extension' and `%header_extension' are removed, failed
135 Changes in version 1.29, 2001-09-07:
137 * The output file does not define const, as this caused problems when used
138 with common autoconfiguration schemes. If you still use ancient compilers
139 that lack const, compile with the equivalent of the C compiler option
140 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
142 * Added `-g' and `--graph'.
144 * The Bison manual is now distributed under the terms of the GNU FDL.
146 * The input and the output files has automatically a similar extension.
148 * Russian translation added.
150 * NLS support updated; should hopefully be less troublesome.
152 * Added the old Bison reference card.
154 * Added `--locations' and `%locations'.
156 * Added `-S' and `--skeleton'.
158 * `%raw', `-r', `--raw' is disabled.
160 * Special characters are escaped when output. This solves the problems
161 of the #line lines with path names including backslashes.
164 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
165 `%debug', `%source_extension' and `%header_extension'.
168 Automatic location tracking.
170 Changes in version 1.28, 1999-07-06:
172 * Should compile better now with K&R compilers.
176 * Fixed a problem with escaping the double quote character.
178 * There is now a FAQ.
180 Changes in version 1.27:
182 * The make rule which prevented bison.simple from being created on
183 some systems has been fixed.
185 Changes in version 1.26:
187 * Bison now uses automake.
189 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
191 * Token numbers now start at 257 as previously documented, not 258.
193 * Bison honors the TMPDIR environment variable.
195 * A couple of buffer overruns have been fixed.
197 * Problems when closing files should now be reported.
199 * Generated parsers should now work even on operating systems which do
200 not provide alloca().
202 Changes in version 1.25, 1995-10-16:
204 * Errors in the input grammar are not fatal; Bison keeps reading
205 the grammar file, and reports all the errors found in it.
207 * Tokens can now be specified as multiple-character strings: for
208 example, you could use "<=" for a token which looks like <=, instead
209 of chosing a name like LESSEQ.
211 * The %token_table declaration says to write a table of tokens (names
212 and numbers) into the parser file. The yylex function can use this
213 table to recognize multiple-character string tokens, or for other
216 * The %no_lines declaration says not to generate any #line preprocessor
217 directives in the parser file.
219 * The %raw declaration says to use internal Bison token numbers, not
220 Yacc-compatible token numbers, when token names are defined as macros.
222 * The --no-parser option produces the parser tables without including
223 the parser engine; a project can now use its own parser engine.
224 The actions go into a separate file called NAME.act, in the form of
225 a switch statement body.
227 Changes in version 1.23:
229 The user can define YYPARSE_PARAM as the name of an argument to be
230 passed into yyparse. The argument should have type void *. It should
231 actually point to an object. Grammar actions can access the variable
232 by casting it to the proper pointer type.
234 Line numbers in output file corrected.
236 Changes in version 1.22:
240 Changes in version 1.20:
242 Output file does not redefine const for C++.