]>
Commit | Line | Data |
---|---|---|
1 | Bison News | |
2 | ---------- | |
3 | ||
4 | Changes in version 1.29e: | |
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 | * 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 | \f | |
49 | Changes in version 1.28: | |
50 | ||
51 | * Should compile better now with K&R compilers. | |
52 | ||
53 | * Added NLS. | |
54 | ||
55 | * Fixed a problem with escaping the double quote character. | |
56 | ||
57 | * There is now a FAQ. | |
58 | \f | |
59 | Changes in version 1.27: | |
60 | ||
61 | * The make rule which prevented bison.simple from being created on | |
62 | some systems has been fixed. | |
63 | \f | |
64 | Changes in version 1.26: | |
65 | ||
66 | * Bison now uses automake. | |
67 | ||
68 | * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>. | |
69 | ||
70 | * Token numbers now start at 257 as previously documented, not 258. | |
71 | ||
72 | * Bison honors the TMPDIR environment variable. | |
73 | ||
74 | * A couple of buffer overruns have been fixed. | |
75 | ||
76 | * Problems when closing files should now be reported. | |
77 | ||
78 | * Generated parsers should now work even on operating systems which do | |
79 | not provide alloca(). | |
80 | \f | |
81 | Changes in version 1.25: | |
82 | ||
83 | * Errors in the input grammar are not fatal; Bison keeps reading | |
84 | the grammar file, and reports all the errors found in it. | |
85 | ||
86 | * Tokens can now be specified as multiple-character strings: for | |
87 | example, you could use "<=" for a token which looks like <=, instead | |
88 | of chosing a name like LESSEQ. | |
89 | ||
90 | * The %token_table declaration says to write a table of tokens (names | |
91 | and numbers) into the parser file. The yylex function can use this | |
92 | table to recognize multiple-character string tokens, or for other | |
93 | purposes. | |
94 | ||
95 | * The %no_lines declaration says not to generate any #line preprocessor | |
96 | directives in the parser file. | |
97 | ||
98 | * The %raw declaration says to use internal Bison token numbers, not | |
99 | Yacc-compatible token numbers, when token names are defined as macros. | |
100 | ||
101 | * The --no-parser option produces the parser tables without including | |
102 | the parser engine; a project can now use its own parser engine. | |
103 | The actions go into a separate file called NAME.act, in the form of | |
104 | a switch statement body. | |
105 | \f | |
106 | Changes in version 1.23: | |
107 | ||
108 | The user can define YYPARSE_PARAM as the name of an argument to be | |
109 | passed into yyparse. The argument should have type void *. It should | |
110 | actually point to an object. Grammar actions can access the variable | |
111 | by casting it to the proper pointer type. | |
112 | ||
113 | Line numbers in output file corrected. | |
114 | \f | |
115 | Changes in version 1.22: | |
116 | ||
117 | --help option added. | |
118 | \f | |
119 | Changes in version 1.20: | |
120 | ||
121 | Output file does not redefine const for C++. |