]> git.saurik.com Git - bison.git/blob - NEWS
Some actions of web2c.y are improperly triggered.
[bison.git] / NEWS
1 Bison News
2 ----------
3
4 Changes in version 1.30i:
5
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.
9
10 * Bug fixes
11
12 Changes in version 1.30h:
13
14 * When the generated parser lacks debugging code, YYDEBUG is now 0
15 (as POSIX requires) instead of being undefined.
16
17 * User Actions
18 Bison has always permitted actions such as { $$ = $1 }: it adds the
19 ending semicolon. Now if in Yacc compatibility mode, the semicolon
20 is no longer output: one has to write { $$ = $1; }.
21
22 Changes in version 1.30g:
23
24 * Bug fixes
25
26 * Better C++ compliance
27 The output parsers try to respect C++ namespaces.
28
29 Changes in version 1.30f:
30
31 * Reduced Grammars
32 Fixed bugs when reporting useless nonterminals.
33
34 * 64 bit hosts
35 The parsers work properly on 64 bit hosts.
36
37 Changes in version 1.30e:
38
39 * Error messages
40 Some calls to strerror resulted in scrambled or missing error messages.
41
42 * %expect
43 When the number of shift/reduce conflicts is correct, don't issue
44 any warning.
45
46 * The verbose report includes the rule line numbers.
47
48 * Rule line numbers are fixed in traces.
49
50 Changes in version 1.30d:
51
52 * Swedish translation
53
54 * Parse errors
55 Verbose parse error messages from the parsers are better looking.
56 Before: parse error: unexpected `'/'', expecting `"number"' or `'-'' or `'(''
57 Now: parse error: unexpected '/', expecting "number" or '-' or '('
58
59 * Fixed VCG output
60 Was broken when strings aliases for symbols were used.
61
62 Changes in version 1.30c:
63
64 * Fixed a few warnings.
65
66 * Some portability issues.
67
68 Changes in version 1.30b:
69
70 * Fixed parser memory leaks.
71 When the generated parser was using malloc to extend its stacks, the
72 previous allocations were not freed.
73
74 * Fixed verbose output file.
75 Some newlines were missing.
76 Some conflicts in state descriptions were missing.
77
78 * Fixed conflict report.
79 Option -v was needed to get the result.
80
81 * %expect
82 Was not used.
83 Mismatches are errors, not warnings.
84
85 * Fixed incorrect processing of some invalid input.
86
87 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
88
89 * Fixed some typos in the documentation.
90
91 * %token MY_EOF 0 is supported.
92 Before, MY_EOF was silently renumbered as 257.
93
94 * doc/refcard.tex is updated.
95
96 * %output, %file-prefix, %name-prefix.
97 New.
98
99 * --output
100 New, aliasing `--output-file'.
101 \f
102 Changes in version 1.30, 2001-10-26:
103
104 * `--defines' and `--graph' have now an optionnal argument which is the
105 output file name. `-d' and `-g' do not change, they do not take any
106 argument.
107
108 * `%source_extension' and `%header_extension' are removed, failed
109 experiment.
110
111 * Portability fixes.
112 \f
113 Changes in version 1.29, 2001-09-07:
114
115 * The output file does not define const, as this caused problems when used
116 with common autoconfiguration schemes. If you still use ancient compilers
117 that lack const, compile with the equivalent of the C compiler option
118 `-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
119
120 * Added `-g' and `--graph'.
121
122 * The Bison manual is now distributed under the terms of the GNU FDL.
123
124 * The input and the output files has automatically a similar extension.
125
126 * Russian translation added.
127
128 * NLS support updated; should hopefully be less troublesome.
129
130 * Added the old Bison reference card.
131
132 * Added `--locations' and `%locations'.
133
134 * Added `-S' and `--skeleton'.
135
136 * `%raw', `-r', `--raw' is disabled.
137
138 * Special characters are escaped when output. This solves the problems
139 of the #line lines with path names including backslashes.
140
141 * New directives.
142 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
143 `%debug', `%source_extension' and `%header_extension'.
144
145 * @$
146 Automatic location tracking.
147 \f
148 Changes in version 1.28, 1999-07-06:
149
150 * Should compile better now with K&R compilers.
151
152 * Added NLS.
153
154 * Fixed a problem with escaping the double quote character.
155
156 * There is now a FAQ.
157 \f
158 Changes in version 1.27:
159
160 * The make rule which prevented bison.simple from being created on
161 some systems has been fixed.
162 \f
163 Changes in version 1.26:
164
165 * Bison now uses automake.
166
167 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
168
169 * Token numbers now start at 257 as previously documented, not 258.
170
171 * Bison honors the TMPDIR environment variable.
172
173 * A couple of buffer overruns have been fixed.
174
175 * Problems when closing files should now be reported.
176
177 * Generated parsers should now work even on operating systems which do
178 not provide alloca().
179 \f
180 Changes in version 1.25, 1995-10-16:
181
182 * Errors in the input grammar are not fatal; Bison keeps reading
183 the grammar file, and reports all the errors found in it.
184
185 * Tokens can now be specified as multiple-character strings: for
186 example, you could use "<=" for a token which looks like <=, instead
187 of chosing a name like LESSEQ.
188
189 * The %token_table declaration says to write a table of tokens (names
190 and numbers) into the parser file. The yylex function can use this
191 table to recognize multiple-character string tokens, or for other
192 purposes.
193
194 * The %no_lines declaration says not to generate any #line preprocessor
195 directives in the parser file.
196
197 * The %raw declaration says to use internal Bison token numbers, not
198 Yacc-compatible token numbers, when token names are defined as macros.
199
200 * The --no-parser option produces the parser tables without including
201 the parser engine; a project can now use its own parser engine.
202 The actions go into a separate file called NAME.act, in the form of
203 a switch statement body.
204 \f
205 Changes in version 1.23:
206
207 The user can define YYPARSE_PARAM as the name of an argument to be
208 passed into yyparse. The argument should have type void *. It should
209 actually point to an object. Grammar actions can access the variable
210 by casting it to the proper pointer type.
211
212 Line numbers in output file corrected.
213 \f
214 Changes in version 1.22:
215
216 --help option added.
217 \f
218 Changes in version 1.20:
219
220 Output file does not redefine const for C++.
221
222 Local Variables:
223 mode: outline
224 End: