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