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