From 34d694194eb98937c33e684d9ca98c8babd4dfcb Mon Sep 17 00:00:00 2001 From: Hop311 Date: Sat, 16 Sep 2023 13:53:29 +0100 Subject: StatementListBlocks no longer require key = {...} --- src/openvic-dataloader/v2script/SimpleGrammar.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/openvic-dataloader/v2script') 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> | lexy::dsl::recurse_branch>) | lexy::dsl::else_ >> lexy::dsl::return_) | - lexy::dsl::p>; + lexy::dsl::p> | + lexy::dsl::recurse_branch>; static constexpr auto value = lexy::callback( [](const char* pos, auto name, lexy::nullopt = {}) { -- cgit v1.2.3-56-ga3b1