4 Changes in version 1.30h:
7 Bison has always permitted actions such as { $$ = $1 }: it adds the
8 ending semicolon. Now if in Yacc compatibility mode, the semicolon
9 is no longer output: one has to write { $$ = $1; }.
11 Changes in version 1.30g:
15 * Better C++ compliance
16 The output parsers try to respect C++ namespaces.
18 Changes in version 1.30f:
21 Fixed bugs when reporting useless nonterminals.
24 The parsers work properly on 64 bit hosts.
26 Changes in version 1.30e:
29 Some calls to strerror resulted in scrambled or missing error messages.
32 When the number of shift/reduce conflicts is correct, don't issue
35 * The verbose report includes the rule line numbers.
37 * Rule line numbers are fixed in traces.
39 Changes in version 1.30d:
44 Verbose parse error messages from the parsers are better looking.
45 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
46 Now: parse error: unexpected '/', expecting "number" or '-' or '('
49 Was broken when strings aliases for symbols were used.
51 Changes in version 1.30c:
53 * Fixed a few warnings.
55 * Some portability issues.
57 Changes in version 1.30b:
59 * Fixed parser memory leaks.
60 When the generated parser was using malloc to extend its stacks, the
61 previous allocations were not freed.
63 * Fixed verbose output file.
64 Some newlines were missing.
65 Some conflicts in state descriptions were missing.
67 * Fixed conflict report.
68 Option -v was needed to get the result.
72 Mismatches are errors, not warnings.
74 * Fixed incorrect processing of some invalid input.
76 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
78 * Fixed some typos in the documentation.
80 * %token MY_EOF 0 is supported.
81 Before, MY_EOF was silently renumbered as 257.
83 * doc/refcard.tex is updated.
85 * %output, %file-prefix, %name-prefix.
89 New, aliasing `--output-file'.
91 Changes in version 1.30, 2001-10-26:
93 * `--defines' and `--graph' have now an optionnal argument which is the
94 output file name. `-d' and `-g' do not change, they do not take any
97 * `%source_extension' and `%header_extension' are removed, failed
102 Changes in version 1.29, 2001-09-07:
104 * The output file does not define const, as this caused problems when used
105 with common autoconfiguration schemes. If you still use ancient compilers
106 that lack const, compile with the equivalent of the C compiler option
107 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
109 * Added `-g' and `--graph'.
111 * The Bison manual is now distributed under the terms of the GNU FDL.
113 * The input and the output files has automatically a similar extension.
115 * Russian translation added.
117 * NLS support updated; should hopefully be less troublesome.
119 * Added the old Bison reference card.
121 * Added `--locations' and `%locations'.
123 * Added `-S' and `--skeleton'.
125 * `%raw', `-r', `--raw' is disabled.
127 * Special characters are escaped when output. This solves the problems
128 of the #line lines with path names including backslashes.
131 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
132 `%debug', `%source_extension' and `%header_extension'.
135 Automatic location tracking.
137 Changes in version 1.28, 1999-07-06:
139 * Should compile better now with K&R compilers.
143 * Fixed a problem with escaping the double quote character.
145 * There is now a FAQ.
147 Changes in version 1.27:
149 * The make rule which prevented bison.simple from being created on
150 some systems has been fixed.
152 Changes in version 1.26:
154 * Bison now uses automake.
156 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
158 * Token numbers now start at 257 as previously documented, not 258.
160 * Bison honors the TMPDIR environment variable.
162 * A couple of buffer overruns have been fixed.
164 * Problems when closing files should now be reported.
166 * Generated parsers should now work even on operating systems which do
167 not provide alloca().
169 Changes in version 1.25, 1995-10-16:
171 * Errors in the input grammar are not fatal; Bison keeps reading
172 the grammar file, and reports all the errors found in it.
174 * Tokens can now be specified as multiple-character strings: for
175 example, you could use "<=" for a token which looks like <=, instead
176 of chosing a name like LESSEQ.
178 * The %token_table declaration says to write a table of tokens (names
179 and numbers) into the parser file. The yylex function can use this
180 table to recognize multiple-character string tokens, or for other
183 * The %no_lines declaration says not to generate any #line preprocessor
184 directives in the parser file.
186 * The %raw declaration says to use internal Bison token numbers, not
187 Yacc-compatible token numbers, when token names are defined as macros.
189 * The --no-parser option produces the parser tables without including
190 the parser engine; a project can now use its own parser engine.
191 The actions go into a separate file called NAME.act, in the form of
192 a switch statement body.
194 Changes in version 1.23:
196 The user can define YYPARSE_PARAM as the name of an argument to be
197 passed into yyparse. The argument should have type void *. It should
198 actually point to an object. Grammar actions can access the variable
199 by casting it to the proper pointer type.
201 Line numbers in output file corrected.
203 Changes in version 1.22:
207 Changes in version 1.20:
209 Output file does not redefine const for C++.