diff options
Diffstat (limited to 'script/vm/field.lua')
-rw-r--r-- | script/vm/field.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/vm/field.lua b/script/vm/field.lua index 1bcf0b6b..0968df11 100644 --- a/script/vm/field.lua +++ b/script/vm/field.lua @@ -1,7 +1,6 @@ ---@class vm local vm = require 'vm.vm' local util = require 'utility' -local compiler = require 'vm.compiler' local guide = require 'parser.guide' local searchByNodeSwitch = util.switch() @@ -18,7 +17,7 @@ local searchByNodeSwitch = util.switch() local function searchByNode(source, pushResult) local uri = guide.getUri(source) - compiler.compileByParentNode(source, nil, function (field) + vm.compileByParentNode(source, nil, function (field) searchByNodeSwitch(field.type, uri, field, pushResult) end) end |