glr2.cc: put semantic_option into an unnamed namespace
commit4ec4309ccef8591beaeced29dfd346eb5ff13699
authorAkim Demaille <akim.demaille@gmail.com>
Wed, 8 Sep 2021 19:58:32 +0000 (8 21:58 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Sun, 12 Sep 2021 12:00:50 +0000 (12 14:00 +0200)
tree6b62a0ae9b57327b1f4b96cc44d6519999875660
parentca96df89b2c322579eda1fe4bc6486259f189f2d
glr2.cc: put semantic_option into an unnamed namespace

If we link several glr2.cc parsers together, we get linking failures
because of duplicate symbols.

* data/skeletons/glr2.cc (semantic_option::indexIn)
(semantic_option::next): Remove the useless overloads.
data/skeletons/glr2.cc