summaryrefslogtreecommitdiff
path: root/script-beta/vm/eachDef.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r--script-beta/vm/eachDef.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua
index 87cbef70..8bb9c0e7 100644
--- a/script-beta/vm/eachDef.lua
+++ b/script-beta/vm/eachDef.lua
@@ -203,6 +203,7 @@ local function eachDef(source, callback)
end
--- 获取所有的定义
+--- 只检查语法上的定义,不穿透函数调用
function vm.eachDef(source, callback, max)
local mark = {}
eachDef(source, function (src)