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