]> git.saurik.com Git - bison.git/blame_incremental - NEWS
*** empty log message ***
[bison.git] / NEWS
... / ...
CommitLineData
1Bison News
2----------
3
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
29Changes in version 1.23:
30
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.
35
36Line numbers in output file corrected.
37\f
38Changes in version 1.22:
39
40--help option added.
41\f
42Changes in version 1.20:
43
44Output file does not redefine const for C++.