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