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