summaryrefslogtreecommitdiff
path: root/xmake/core/base/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-26 22:31:19 +0800
committerruki <[email protected]>2016-02-26 22:31:19 +0800
commit5520585557e76e13368325c50ffb0ca344f2c714 (patch)
tree83b8859bdab03b31cfed75fed461b4e4fbdc72c3 /xmake/core/base/utils.lua
parent939effc6597b544d498d0644f7b48cb121f54aae (diff)
load script in task menu
Diffstat (limited to 'xmake/core/base/utils.lua')
-rw-r--r--xmake/core/base/utils.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua
index acaf7f57d..f0664f294 100644
--- a/xmake/core/base/utils.lua
+++ b/xmake/core/base/utils.lua
@@ -56,7 +56,10 @@ function utils.error(msg, ...)
print("error: " .. string.format(msg, ...))
end
--- the abort function
+-- the abort function, will raise an exception
+-- and the parent function can capture it
+--
+-- so we do not use os.exit()
function utils.abort()
-- trace