Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CapsAdmin committed Oct 14, 2024
1 parent 553f22f commit 5033727
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nattlua/parser/expressions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,9 @@ do -- runtime
self.imported = self.imported or {}
local key = "DATA_" .. node.path
node.key = key
local root_node = self.config.root_statement_override_data or
self.config.root_statement_override or
self.RootStatement
local root_node = self.config.root_statement_override or self.RootStatement
root_node.imported = root_node.imported or {}
local imported = root_node.imported
Expand All @@ -922,7 +925,7 @@ do -- runtime
local root, err = self:ParseFile(
node.path,
{
root_statement_override = root_node,
root_statement_override_data = root_node,
path = node.path,
working_directory = self.config.working_directory,
on_parsed_node = self.config.on_parsed_node,
Expand Down

0 comments on commit 5033727

Please sign in to comment.