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