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