diff options
author | BrickPi <49528459+BrickPi@users.noreply.github.com> | 2023-09-16 16:51:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 16:51:57 +0200 |
commit | 977661f6f4301be19fa64abfc6cda5040c3899b1 (patch) | |
tree | 5d25c8baadcb97111179ca06dc5243f1f3f8509f /src/openvic-dataloader/v2script/SimpleGrammar.hpp | |
parent | 8f71abc25ec993ce7e85f5342a52fb456bdba26f (diff) | |
parent | 34d694194eb98937c33e684d9ca98c8babd4dfcb (diff) |
Merge pull request #16 from OpenVicProject/standalone-lists
StatementListBlocks no longer require key = {...}
Diffstat (limited to 'src/openvic-dataloader/v2script/SimpleGrammar.hpp')
-rw-r--r-- | src/openvic-dataloader/v2script/SimpleGrammar.hpp | 3 |
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 = {}) { |