summaryrefslogtreecommitdiffstats
path: root/src/parse.y
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-04-17 01:12:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-04-17 01:12:19 +0200
commitbb018683c93673679bb54b63c8aff43f507948de (patch)
tree998997874780e81e08a5db1228f7dde8869016c9 /src/parse.y
parentc1490a5ad80d5e6df1b9f8648365ef95d9077580 (diff)
downloadsolar-bb018683c93673679bb54b63c8aff43f507948de.tar
solar-bb018683c93673679bb54b63c8aff43f507948de.zip
parse: minor formatting fix
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y5
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()]