45 |
I want a means to %include other bits of grammars, and _then_ it will |
I want a means to %include other bits of grammars, and _then_ it will |
46 |
be important for the various bits to define their needs in %union. |
be important for the various bits to define their needs in %union. |
47 |
|
|
48 |
|
When implementing multiple-%union support, bare the following in mind: |
49 |
|
|
50 |
|
- when --yacc, this must be flagged as an error. Don't make it fatal |
51 |
|
though. |
52 |
|
|
53 |
|
- The #line must now appear *inside* the definition of yystype. |
54 |
|
Something like |
55 |
|
|
56 |
|
{ |
57 |
|
#line 12 "foo.y" |
58 |
|
int ival; |
59 |
|
#line 23 "foo.y" |
60 |
|
char *sval; |
61 |
|
} |
62 |
|
|
63 |
* Coding system independence |
* Coding system independence |
64 |
Paul notes: |
Paul notes: |
65 |
|
|