aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/v2script/TriggerGrammar.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-09-05 21:38:13 +0200
committer GitHub <noreply@github.com>2023-09-05 21:38:13 +0200
commit870068cf33057348000b1422d4bf40772aaf0b87 (patch)
treef7569029f45ec019b0387e63aa7b94d1da7cc03a /src/openvic-dataloader/v2script/TriggerGrammar.hpp
parent238ab9dfaa8ec7a48142154d227605ae367d53d1 (diff)
parent1d2c5ce39d12adcb584d586952a59e15f2495f67 (diff)
Merge pull request #9 from OpenVicProject/node-line-column
Diffstat (limited to 'src/openvic-dataloader/v2script/TriggerGrammar.hpp')
-rw-r--r--src/openvic-dataloader/v2script/TriggerGrammar.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-dataloader/v2script/TriggerGrammar.hpp b/src/openvic-dataloader/v2script/TriggerGrammar.hpp
index 290fb70..6d964db 100644
--- a/src/openvic-dataloader/v2script/TriggerGrammar.hpp
+++ b/src/openvic-dataloader/v2script/TriggerGrammar.hpp
@@ -13,7 +13,7 @@ namespace ovdl::v2script::grammar {
static constexpr auto value = lexy::callback<ast::NodePtr>(
[](auto name, auto&& initalizer) {
- return ast::make_node_ptr<ast::ExecutionNode>(ast::ExecutionNode::Type::Trigger, LEXY_MOV(name), LEXY_MOV(initalizer));
+ return ast::make_node_ptr<ast::ExecutionNode>({}, ast::ExecutionNode::Type::Trigger, LEXY_MOV(name), LEXY_MOV(initalizer));
});
};