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