summaryrefslogtreecommitdiff
path: root/xmake/core/base/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-01-19 20:54:26 +0800
committerruki <[email protected]>2016-02-15 19:10:24 +0800
commitd7329faff5284e07a251683fc30dcefcb27e21d0 (patch)
tree3436953d66e2c1bbd3b0f74e8f92977a2cdfd9a9 /xmake/core/base/utils.lua
parent44c7d62676ce6763d013db0c031e6f651237f510 (diff)
impl add/set scope and values for interpreter
Diffstat (limited to 'xmake/core/base/utils.lua')
-rw-r--r--xmake/core/base/utils.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua
index fd1f053d6..596826ed9 100644
--- a/xmake/core/base/utils.lua
+++ b/xmake/core/base/utils.lua
@@ -56,6 +56,13 @@ function utils.error(msg, ...)
print("error: " .. string.format(msg, ...))
end
+-- the abort function
+function utils.abort()
+
+ -- trace
+ error()
+end
+
-- the warning function
function utils.warning(msg, ...)