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