]> git.saurik.com Git - bison.git/blob - NEWS
* lib/Makefile.am (EXTRA_DIST): Add strnlen.c: Automake is still
[bison.git] / NEWS
1 Bison News
2 ----------
3
4 Changes in version 1.30l:
5
6 * Package fixes
7 Missing portability files.
8
9 Changes in version 1.30k:
10
11 * Portability
12 The AIX portability issue seems to be solved: strnlen was the
13 culprit.
14
15 Changes in version 1.30j:
16
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'.
22
23 Changes in version 1.30i:
24
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.
28
29 alloca is used only when compiled with GCC, to avoid portability
30 problems as on AIX.
31
32 * Bug fixes
33
34 Changes in version 1.30h:
35
36 * When the generated parser lacks debugging code, YYDEBUG is now 0
37 (as POSIX requires) instead of being undefined.
38
39 * User Actions
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; }.
43
44 Changes in version 1.30g:
45
46 * Bug fixes
47
48 * Better C++ compliance
49 The output parsers try to respect C++ namespaces.
50
51 Changes in version 1.30f:
52
53 * Reduced Grammars
54 Fixed bugs when reporting useless nonterminals.
55
56 * 64 bit hosts
57 The parsers work properly on 64 bit hosts.
58
59 Changes in version 1.30e:
60
61 * Error messages
62 Some calls to strerror resulted in scrambled or missing error messages.
63
64 * %expect
65 When the number of shift/reduce conflicts is correct, don't issue
66 any warning.
67
68 * The verbose report includes the rule line numbers.
69
70 * Rule line numbers are fixed in traces.
71
72 Changes in version 1.30d:
73
74 * Swedish translation
75
76 * Parse errors
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 '('
80
81 * Fixed VCG output
82 Was broken when strings aliases for symbols were used.
83
84 Changes in version 1.30c:
85
86 * Fixed a few warnings.
87
88 * Some portability issues.
89
90 Changes in version 1.30b:
91
92 * Fixed parser memory leaks.
93 When the generated parser was using malloc to extend its stacks, the
94 previous allocations were not freed.
95
96 * Fixed verbose output file.
97 Some newlines were missing.
98 Some conflicts in state descriptions were missing.
99
100 * Fixed conflict report.
101 Option -v was needed to get the result.
102
103 * %expect
104 Was not used.
105 Mismatches are errors, not warnings.
106
107 * Fixed incorrect processing of some invalid input.
108
109 * Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
110
111 * Fixed some typos in the documentation.
112
113 * %token MY_EOF 0 is supported.
114 Before, MY_EOF was silently renumbered as 257.
115
116 * doc/refcard.tex is updated.
117
118 * %output, %file-prefix, %name-prefix.
119 New.
120
121 * --output
122 New, aliasing `--output-file'.
123 \f
124 Changes in version 1.30, 2001-10-26:
125
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
128 argument.
129
130 * `%source_extension' and `%header_extension' are removed, failed
131 experiment.
132
133 * Portability fixes.
134 \f
135 Changes in version 1.29, 2001-09-07:
136
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.
141
142 * Added `-g' and `--graph'.
143
144 * The Bison manual is now distributed under the terms of the GNU FDL.
145
146 * The input and the output files has automatically a similar extension.
147
148 * Russian translation added.
149
150 * NLS support updated; should hopefully be less troublesome.
151
152 * Added the old Bison reference card.
153
154 * Added `--locations' and `%locations'.
155
156 * Added `-S' and `--skeleton'.
157
158 * `%raw', `-r', `--raw' is disabled.
159
160 * Special characters are escaped when output. This solves the problems
161 of the #line lines with path names including backslashes.
162
163 * New directives.
164 `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
165 `%debug', `%source_extension' and `%header_extension'.
166
167 * @$
168 Automatic location tracking.
169 \f
170 Changes in version 1.28, 1999-07-06:
171
172 * Should compile better now with K&R compilers.
173
174 * Added NLS.
175
176 * Fixed a problem with escaping the double quote character.
177
178 * There is now a FAQ.
179 \f
180 Changes in version 1.27:
181
182 * The make rule which prevented bison.simple from being created on
183 some systems has been fixed.
184 \f
185 Changes in version 1.26:
186
187 * Bison now uses automake.
188
189 * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>.
190
191 * Token numbers now start at 257 as previously documented, not 258.
192
193 * Bison honors the TMPDIR environment variable.
194
195 * A couple of buffer overruns have been fixed.
196
197 * Problems when closing files should now be reported.
198
199 * Generated parsers should now work even on operating systems which do
200 not provide alloca().
201 \f
202 Changes in version 1.25, 1995-10-16:
203
204 * Errors in the input grammar are not fatal; Bison keeps reading
205 the grammar file, and reports all the errors found in it.
206
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.
210
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
214 purposes.
215
216 * The %no_lines declaration says not to generate any #line preprocessor
217 directives in the parser file.
218
219 * The %raw declaration says to use internal Bison token numbers, not
220 Yacc-compatible token numbers, when token names are defined as macros.
221
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.
226 \f
227 Changes in version 1.23:
228
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.
233
234 Line numbers in output file corrected.
235 \f
236 Changes in version 1.22:
237
238 --help option added.
239 \f
240 Changes in version 1.20:
241
242 Output file does not redefine const for C++.
243
244 Local Variables:
245 mode: outline
246 End: