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