mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 06:43:03 +00:00
Use locations in the variant example.
Yes, this obfuscates the point of this example, variants only. But glr.cc cannot work (yet?) without locations. This change makes it easier to use this example with glr.cc. * examples/variant.yy (assert): %define it. (locations): Request them. (yylex): Bind the location to the stage.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2009-03-02 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Use locations in the variant example.
|
||||
Yes, this obfuscates the point of this example, variants only. But glr.cc
|
||||
cannot work (yet?) without locations. This change makes it easier to use
|
||||
this example with glr.cc.
|
||||
|
||||
* examples/variant.yy (assert): %define it.
|
||||
(locations): Request them.
|
||||
(yylex): Bind the location to the stage.
|
||||
|
||||
2009-03-02 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Dub make_TOKEN as a public type interface.
|
||||
|
||||
Reference in New Issue
Block a user