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