summaryrefslogtreecommitdiff
path: root/xmake/core/base/deprecated/interpreter.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-28 09:15:08 +0800
committerruki <[email protected]>2017-02-28 09:15:08 +0800
commit89ad6953438a23a61690d3c32738c330bf2df989 (patch)
treead78d8fe0a9beb43b0e12ef697faf8260cfdbe66 /xmake/core/base/deprecated/interpreter.lua
parent1a93fd94a1f1f24e4dc0307796438772c88eb436 (diff)
add scope_end api
Diffstat (limited to 'xmake/core/base/deprecated/interpreter.lua')
-rw-r--r--xmake/core/base/deprecated/interpreter.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/deprecated/interpreter.lua b/xmake/core/base/deprecated/interpreter.lua
index ab1ce1166..206551c88 100644
--- a/xmake/core/base/deprecated/interpreter.lua
+++ b/xmake/core/base/deprecated/interpreter.lua
@@ -70,7 +70,7 @@ function deprecated_interpreter:api_register_set_scope(...)
end
-- register implementation
- self:_api_register_xxx_scope(nil, "set", implementation, ...)
+ self:_api_register_scope_api(nil, "set", implementation, ...)
end
-- register api for add_scope()
@@ -109,7 +109,7 @@ function deprecated_interpreter:api_register_add_scope(...)
end
-- register implementation
- self:_api_register_xxx_scope(nil, "add", implementation, ...)
+ self:_api_register_scope_api(nil, "add", implementation, ...)
end
-- register api for set_script