4 Changes in version 1.30i:
6 * Use of alloca in parsers
7 If YYSTACK_USE_ALLOCA is defined to 0, then the parsers will use
8 malloc exclusively. Since 1.29, but was not NEWS'ed.
10 alloca is used only when compiled with GCC, to avoid portability
15 Changes in version 1.30h:
17 * When the generated parser lacks debugging code, YYDEBUG is now 0
18 (as POSIX requires) instead of being undefined.
21 Bison has always permitted actions such as { $$ = $1 }: it adds the
22 ending semicolon. Now if in Yacc compatibility mode, the semicolon
23 is no longer output: one has to write { $$ = $1; }.
25 Changes in version 1.30g:
29 * Better C++ compliance
30 The output parsers try to respect C++ namespaces.
32 Changes in version 1.30f:
35 Fixed bugs when reporting useless nonterminals.
38 The parsers work properly on 64 bit hosts.
40 Changes in version 1.30e:
43 Some calls to strerror resulted in scrambled or missing error messages.
46 When the number of shift/reduce conflicts is correct, don't issue
49 * The verbose report includes the rule line numbers.
51 * Rule line numbers are fixed in traces.
53 Changes in version 1.30d:
58 Verbose parse error messages from the parsers are better looking.
59 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
60 Now: parse error: unexpected '/', expecting "number" or '-' or '('
63 Was broken when strings aliases for symbols were used.
65 Changes in version 1.30c:
67 * Fixed a few warnings.
69 * Some portability issues.
71 Changes in version 1.30b:
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++.