aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openvic-dataloader/v2script/SimpleGrammar.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-dataloader/v2script/SimpleGrammar.hpp b/src/openvic-dataloader/v2script/SimpleGrammar.hpp
index 2679598..160ab92 100644
--- a/src/openvic-dataloader/v2script/SimpleGrammar.hpp
+++ b/src/openvic-dataloader/v2script/SimpleGrammar.hpp
@@ -135,7 +135,8 @@ namespace ovdl::v2script::grammar {
(lexy::dsl::equal_sign >>
(lexy::dsl::p<ValueExpression<Options>> | lexy::dsl::recurse_branch<StatementListBlock<Options>>) |
lexy::dsl::else_ >> lexy::dsl::return_) |
- lexy::dsl::p<StringExpression<Options>>;
+ lexy::dsl::p<StringExpression<Options>> |
+ lexy::dsl::recurse_branch<StatementListBlock<Options>>;
static constexpr auto value = lexy::callback<ast::NodePtr>(
[](const char* pos, auto name, lexy::nullopt = {}) {