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