summaryrefslogtreecommitdiff
path: root/xmake/core/base/interpreter.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-05-03 10:38:33 +0800
committerruki <[email protected]>2016-05-03 10:38:33 +0800
commit2bc9ded0e299f0b28869a105b15d72c71261d6e7 (patch)
tree4d65ad78a3cd298e7b4182f2a6c73057121df12d /xmake/core/base/interpreter.lua
parent33cd1abcf4aa733ac68f619dac0183f547d787c3 (diff)
fix empty scope bug
Diffstat (limited to 'xmake/core/base/interpreter.lua')
-rw-r--r--xmake/core/base/interpreter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua
index 066acf5d9..8347498e7 100644
--- a/xmake/core/base/interpreter.lua
+++ b/xmake/core/base/interpreter.lua
@@ -366,7 +366,7 @@ function interpreter:_make(scope_kind, remove_repeat, enable_filter)
-- not this scope for kind?
local scope_for_kind = scopes[scope_kind]
if not scope_for_kind then
- return nil
+ return {}
end
-- the root scope