summaryrefslogtreecommitdiffstats
path: root/src/parse.cpp
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.cpp
parentc1490a5ad80d5e6df1b9f8648365ef95d9077580 (diff)
downloadsolar-bb018683c93673679bb54b63c8aff43f507948de.tar
solar-bb018683c93673679bb54b63c8aff43f507948de.zip
parse: minor formatting fix
Diffstat (limited to 'src/parse.cpp')
-rw-r--r--src/parse.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parse.cpp b/src/parse.cpp
index 0c2a7c4..e30615f 100644
--- a/src/parse.cpp
+++ b/src/parse.cpp
@@ -88,9 +88,7 @@ static inline void parse_reduce_9(solar::rule_t * rule, __attribute__((unused))
grammar->rules.push_back(*rule);
}
-static inline solar::rule_t * parse_reduce_10(std::string * lhs, rhs_t * rhs, std::string * action, __attribute__((unused)) solar::grammar_t * grammar) {return
- new solar::rule_t {solar::item_t(*lhs, rhs->first), rhs->second, *action}
-;}
+static inline solar::rule_t * parse_reduce_10(std::string * lhs, rhs_t * rhs, std::string * action, __attribute__((unused)) solar::grammar_t * grammar) {return new solar::rule_t {solar::item_t(*lhs, rhs->first), rhs->second, *action};}
static inline rhs_t * parse_reduce_11(__attribute__((unused)) solar::grammar_t * grammar) {return new rhs_t();}