diff options
Diffstat (limited to 'src/parse.y')
-rw-r--r-- | src/parse.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/parse.y b/src/parse.y index 3d6f438..f0ff040 100644 --- a/src/parse.y +++ b/src/parse.y @@ -107,9 +107,8 @@ directive |= rule(rule) { } -rule |= SYMBOL_LC(lhs) "|=" rhs(rhs) action(action) [ - new solar::rule_t {solar::item_t(*lhs, rhs->first), rhs->second, *action} -] +rule |= SYMBOL_LC(lhs) "|=" rhs(rhs) action(action) + [new solar::rule_t {solar::item_t(*lhs, rhs->first), rhs->second, *action}] rhs |= [new rhs_t()] |