summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/yasm.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-11 11:23:25 +0800
committerruki <[email protected]>2020-04-11 11:23:25 +0800
commit8d291b23aeccdd781acf4c69e0d12e5181ce6357 (patch)
tree74a69b5141f67aec0e3a0c49ccac1b47f8173a5a /xmake/modules/core/tools/yasm.lua
parent7df6126bd87931ed1688fcbbe107fe6e9b6585f8 (diff)
improve errors tips for yasm
Diffstat (limited to 'xmake/modules/core/tools/yasm.lua')
-rw-r--r--xmake/modules/core/tools/yasm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/yasm.lua b/xmake/modules/core/tools/yasm.lua
index 305403a5c..510e7bee6 100644
--- a/xmake/modules/core/tools/yasm.lua
+++ b/xmake/modules/core/tools/yasm.lua
@@ -98,7 +98,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags)
os.tryrm(objectfile)
-- raise compiling errors
- raise(errors)
+ raise(tostring(errors))
end
},
finally