summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-10 22:39:04 +0800
committerruki <[email protected]>2021-10-10 22:39:04 +0800
commitf7d079c1a5eef8d875b25e383132e6c114b7e48a (patch)
treee87d40d3a4f663cf91a5da47bc3fee23fad0bd16 /xmake/modules/core/tools/cl.lua
parentb14cd48bebe5e86e676c94ff74776100f08f2823 (diff)
fix languages
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 6181af7d9..9e9f38ab8 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -247,7 +247,7 @@ function nf_language(self, stdname)
if self:has_flags(v, "cxflags") then
result = v
maps[stdname] = result
- break
+ return result
end
end
else