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