diff options
Diffstat (limited to 'script-beta/parser/compile.lua')
-rw-r--r-- | script-beta/parser/compile.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/parser/compile.lua b/script-beta/parser/compile.lua index bcd9ecc8..33ecfde0 100644 --- a/script-beta/parser/compile.lua +++ b/script-beta/parser/compile.lua @@ -463,6 +463,7 @@ local function compileGoTo(obj) label.ref = {} end label.ref[#label.ref+1] = obj + obj.node = label -- 如果有局部变量在 goto 与 label 之间声明, -- 并在 label 之后使用,则算作语法错误 |