4 Changes in version 1.30h:
6 * When the generated parser lacks debugging code, YYDEBUG is now 0
7 (as POSIX requires) instead of being undefined.
10 Bison has always permitted actions such as { $$ = $1 }: it adds the
11 ending semicolon. Now if in Yacc compatibility mode, the semicolon
12 is no longer output: one has to write { $$ = $1; }.
14 Changes in version 1.30g:
18 * Better C++ compliance
19 The output parsers try to respect C++ namespaces.
21 Changes in version 1.30f:
24 Fixed bugs when reporting useless nonterminals.
27 The parsers work properly on 64 bit hosts.
29 Changes in version 1.30e:
32 Some calls to strerror resulted in scrambled or missing error messages.
35 When the number of shift/reduce conflicts is correct, don't issue
38 * The verbose report includes the rule line numbers.
40 * Rule line numbers are fixed in traces.
42 Changes in version 1.30d:
47 Verbose parse error messages from the parsers are better looking.
48 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
49 Now: parse error: unexpected '/', expecting "number" or '-' or '('
52 Was broken when strings aliases for symbols were used.
54 Changes in version 1.30c:
56 * Fixed a few warnings.
58 * Some portability issues.
60 Changes in version 1.30b:
62 * Fixed parser memory leaks.
63 When the generated parser was using malloc to extend its stacks, the
64 previous allocations were not freed.
66 * Fixed verbose output file.
67 Some newlines were missing.
68 Some conflicts in state descriptions were missing.
70 * Fixed conflict report.
71 Option -v was needed to get the result.
75 Mismatches are errors, not warnings.
77 * Fixed incorrect processing of some invalid input.
79 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
81 * Fixed some typos in the documentation.
83 * %token MY_EOF 0 is supported.
84 Before, MY_EOF was silently renumbered as 257.
86 * doc/refcard.tex is updated.
88 * %output, %file-prefix, %name-prefix.
92 New, aliasing `--output-file'.
94 Changes in version 1.30, 2001-10-26:
96 * `--defines' and `--graph' have now an optionnal argument which is the
97 output file name. `-d' and `-g' do not change, they do not take any
100 * `%source_extension' and `%header_extension' are removed, failed
105 Changes in version 1.29, 2001-09-07:
107 * The output file does not define const, as this caused problems when used
108 with common autoconfiguration schemes. If you still use ancient compilers
109 that lack const, compile with the equivalent of the C compiler option
110 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
112 * Added `-g' and `--graph'.
114 * The Bison manual is now distributed under the terms of the GNU FDL.
116 * The input and the output files has automatically a similar extension.
118 * Russian translation added.
120 * NLS support updated; should hopefully be less troublesome.
122 * Added the old Bison reference card.
124 * Added `--locations' and `%locations'.
126 * Added `-S' and `--skeleton'.
128 * `%raw', `-r', `--raw' is disabled.
130 * Special characters are escaped when output. This solves the problems
131 of the #line lines with path names including backslashes.
134 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
135 `%debug', `%source_extension' and `%header_extension'.
138 Automatic location tracking.
140 Changes in version 1.28, 1999-07-06:
142 * Should compile better now with K&R compilers.
146 * Fixed a problem with escaping the double quote character.
148 * There is now a FAQ.
150 Changes in version 1.27:
152 * The make rule which prevented bison.simple from being created on
153 some systems has been fixed.
155 Changes in version 1.26:
157 * Bison now uses automake.
159 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
161 * Token numbers now start at 257 as previously documented, not 258.
163 * Bison honors the TMPDIR environment variable.
165 * A couple of buffer overruns have been fixed.
167 * Problems when closing files should now be reported.
169 * Generated parsers should now work even on operating systems which do
170 not provide alloca().
172 Changes in version 1.25, 1995-10-16:
174 * Errors in the input grammar are not fatal; Bison keeps reading
175 the grammar file, and reports all the errors found in it.
177 * Tokens can now be specified as multiple-character strings: for
178 example, you could use "<=" for a token which looks like <=, instead
179 of chosing a name like LESSEQ.
181 * The %token_table declaration says to write a table of tokens (names
182 and numbers) into the parser file. The yylex function can use this
183 table to recognize multiple-character string tokens, or for other
186 * The %no_lines declaration says not to generate any #line preprocessor
187 directives in the parser file.
189 * The %raw declaration says to use internal Bison token numbers, not
190 Yacc-compatible token numbers, when token names are defined as macros.
192 * The --no-parser option produces the parser tables without including
193 the parser engine; a project can now use its own parser engine.
194 The actions go into a separate file called NAME.act, in the form of
195 a switch statement body.
197 Changes in version 1.23:
199 The user can define YYPARSE_PARAM as the name of an argument to be
200 passed into yyparse. The argument should have type void *. It should
201 actually point to an object. Grammar actions can access the variable
202 by casting it to the proper pointer type.
204 Line numbers in output file corrected.
206 Changes in version 1.22:
210 Changes in version 1.20:
212 Output file does not redefine const for C++.