16 |
|
|
17 |
* Output Directory |
* Output Directory |
18 |
When not in Yacc compatibility mode, when the output file was not |
When not in Yacc compatibility mode, when the output file was not |
19 |
specified, runnning `bison foo/bar.y' created `foo/bar.c'. It |
specified, running `bison foo/bar.y' created `foo/bar.c'. It |
20 |
now creates `bar.c'. |
now creates `bar.c'. |
21 |
|
|
22 |
* Undefined token |
* Undefined token |
23 |
The undefined token was systematically mapped to 2 which prevented |
The undefined token was systematically mapped to 2 which prevented |
24 |
the use of 2 from the user. This is no longer the case. |
the use of 2 by the user. This is no longer the case. |
25 |
|
|
26 |
* Unknown token numbers |
* Unknown token numbers |
27 |
If yylex returned a code out of range, yyparse could die. This is |
If yylex returned an out of range value, yyparse could die. This is |
28 |
no longer the case. |
no longer the case. |
29 |
|
|
30 |
* Error token |
* Error token |
31 |
According to POSIX, the error token should be numbered as 256. |
According to POSIX, the error token must be 256. |
32 |
Bison extends this requirement by making it a preference: *if* the |
Bison extends this requirement by making it a preference: *if* the |
33 |
user specified that one of her tokens is numbered 256, then error |
user specified that one of her tokens is numbered 256, then error |
34 |
will be mapped onto another number. |
will be mapped onto another number. |
35 |
|
|
36 |
* Verbose error messages |
* Verbose error messages |
37 |
They no longer report `..., expecting error or...' for state where |
They no longer report `..., expecting error or...' for states where |
38 |
error recovery is possible. |
error recovery is possible. |
39 |
|
|
40 |
* End token |
* End token |
110 |
Croatian, thanks to Denis Lackovic. |
Croatian, thanks to Denis Lackovic. |
111 |
|
|
112 |
* Incorrect token definitions |
* Incorrect token definitions |
113 |
When fed with `%token 'a' "A"', Bison used to output `#define 'a' 65'. |
When given `%token 'a' "A"', Bison used to output `#define 'a' 65'. |
114 |
|
|
115 |
* Token definitions as enums |
* Token definitions as enums |
116 |
Tokens are output both as the traditional #define's, and, provided |
Tokens are output both as the traditional #define's, and, provided |
117 |
the compiler supports ANSI C or is a C++ compiler, as enums. |
the compiler supports ANSI C or is a C++ compiler, as enums. |
118 |
This helps debuggers producing symbols instead of values. |
This lets debuggers display names instead of integers. |
119 |
|
|
120 |
* Reports |
* Reports |
121 |
In addition to --verbose, bison supports --report=THINGS, which |
In addition to --verbose, bison supports --report=THINGS, which |