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