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