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