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