aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp')
-rw-r--r--src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp b/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp
index f3e1994..30f535a 100644
--- a/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp
+++ b/src/openvic-dataloader/v2script/AiBehaviorGrammar.hpp
@@ -11,9 +11,10 @@ namespace ovdl::v2script::grammar {
struct AiModifierStatement {
static constexpr auto rule =
modifier_keyword >>
- lexy::dsl::curly_bracketed.list(
- (factor_keyword >> lexy::dsl::p<Identifier>) |
- lexy::dsl::p<TriggerStatement>);
+ (lexy::dsl::equal_sign +
+ lexy::dsl::curly_bracketed.list(
+ (factor_keyword >> lexy::dsl::p<Identifier>) |
+ lexy::dsl::p<TriggerStatement>));
};
struct AiBehaviorList {