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