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