]>
Commit | Line | Data |
---|---|---|
1 | Bison News | |
2 | ---------- | |
3 | ||
4 | Change in version 1.26: | |
5 | ||
6 | * Bison now uses automake. | |
7 | ||
8 | * New mailing lists: <bug-bison@gnu.org> and <help-bison@gnu.org>. | |
9 | ||
10 | * Token numbers now start at 257 as previously documented, not 258. | |
11 | ||
12 | * Bison honors the TMPDIR environment variable. | |
13 | ||
14 | * A couple of buffer overruns have been fixed. | |
15 | ||
16 | * Problems when closing files should now be reported. | |
17 | ||
18 | * Generated parsers should now work even on operating systems which do | |
19 | not provide alloca(). | |
20 | \f | |
21 | Change in version 1.25: | |
22 | ||
23 | * Errors in the input grammar are not fatal; Bison keeps reading | |
24 | the grammar file, and reports all the errors found in it. | |
25 | ||
26 | * Tokens can now be specified as multiple-character strings: for | |
27 | example, you could use "<=" for a token which looks like <=, instead | |
28 | of chosing a name like LESSEQ. | |
29 | ||
30 | * The %token_table declaration says to write a table of tokens (names | |
31 | and numbers) into the parser file. The yylex function can use this | |
32 | table to recognize multiple-character string tokens, or for other | |
33 | purposes. | |
34 | ||
35 | * The %no_lines declaration says not to generate any #line preprocessor | |
36 | directives in the parser file. | |
37 | ||
38 | * The %raw declaration says to use internal Bison token numbers, not | |
39 | Yacc-compatible token numbers, when token names are defined as macros. | |
40 | ||
41 | * The --no-parser option produces the parser tables without including | |
42 | the parser engine; a project can now use its own parser engine. | |
43 | The actions go into a separate file called NAME.act, in the form of | |
44 | a switch statement body. | |
45 | \f | |
46 | Changes in version 1.23: | |
47 | ||
48 | The user can define YYPARSE_PARAM as the name of an argument to be | |
49 | passed into yyparse. The argument should have type void *. It should | |
50 | actually point to an object. Grammar actions can access the variable | |
51 | by casting it to the proper pointer type. | |
52 | ||
53 | Line numbers in output file corrected. | |
54 | \f | |
55 | Changes in version 1.22: | |
56 | ||
57 | --help option added. | |
58 | \f | |
59 | Changes in version 1.20: | |
60 | ||
61 | Output file does not redefine const for C++. |