]> git.saurik.com Git - bison.git/blob - NEWS
Document 1.26 highlights.
[bison.git] / NEWS
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 \f
16 Change in version 1.25:
17
18 * Errors in the input grammar are not fatal; Bison keeps reading
19 the grammar file, and reports all the errors found in it.
20
21 * Tokens can now be specified as multiple-character strings: for
22 example, you could use "<=" for a token which looks like <=, instead
23 of chosing a name like LESSEQ.
24
25 * The %token_table declaration says to write a table of tokens (names
26 and numbers) into the parser file. The yylex function can use this
27 table to recognize multiple-character string tokens, or for other
28 purposes.
29
30 * The %no_lines declaration says not to generate any #line preprocessor
31 directives in the parser file.
32
33 * The %raw declaration says to use internal Bison token numbers, not
34 Yacc-compatible token numbers, when token names are defined as macros.
35
36 * The --no-parser option produces the parser tables without including
37 the parser engine; a project can now use its own parser engine.
38 The actions go into a separate file called NAME.act, in the form of
39 a switch statement body.
40 \f
41 Changes in version 1.23:
42
43 The user can define YYPARSE_PARAM as the name of an argument to be
44 passed into yyparse. The argument should have type void *. It should
45 actually point to an object. Grammar actions can access the variable
46 by casting it to the proper pointer type.
47
48 Line numbers in output file corrected.
49 \f
50 Changes in version 1.22:
51
52 --help option added.
53 \f
54 Changes in version 1.20:
55
56 Output file does not redefine const for C++.