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