1 |
-*- outline -*- |
-*- outline -*- |
2 |
|
|
3 |
* Coding system independence |
* Coding system independence |
4 |
Paul notes: |
Paul notes: |
5 |
|
|
6 |
Currently Bison assumes 8-bit bytes (i.e. that UCHAR_MAX is |
Currently Bison assumes 8-bit bytes (i.e. that UCHAR_MAX is |
7 |
255). It also assumes that the 8-bit character encoding is |
255). It also assumes that the 8-bit character encoding is |
33 |
#define BAR 257 |
#define BAR 257 |
34 |
... |
... |
35 |
|
|
36 |
|
> I'm in favor of |
37 |
|
> |
38 |
|
> %token FOO 256 |
39 |
|
> %token BAR 257 |
40 |
|
> |
41 |
|
> and Bison moves error into 258. |
42 |
|
|
43 |
|
Yes, I think that's a valid extension too, if the user doesn't define |
44 |
|
the token number for error. |
45 |
|
|
46 |
* Unit rules |
* Unit rules |
47 |
Maybe we could expand unit rules, i.e., transform |
Maybe we could expand unit rules, i.e., transform |
48 |
|
|