glr2.cc: simplify semantic_option
commit7538d8dc1a0a1d3313add2b31b47a0ea02ca8a74
authorAkim Demaille <akim.demaille@gmail.com>
Sun, 12 Sep 2021 15:46:35 +0000 (12 17:46 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Sun, 12 Sep 2021 18:04:54 +0000 (12 20:04 +0200)
tree6991bf8550a77632e091711171d48c05fe63642f
parentb07b5ce423942d9c7f55d1414a0c742b6ddeb095
glr2.cc: simplify semantic_option

* data/skeletons/glr2.cc (semantic_option): Simplify the rule-based
constructor.  This shows that it should be easy to use a symbol_kind,
instead of the kind/value/location triple.
data/skeletons/glr2.cc