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