diff options
| author | ruki <[email protected]> | 2016-05-03 10:38:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-03 10:38:33 +0800 |
| commit | 2bc9ded0e299f0b28869a105b15d72c71261d6e7 (patch) | |
| tree | 4d65ad78a3cd298e7b4182f2a6c73057121df12d | |
| parent | 33cd1abcf4aa733ac68f619dac0183f547d787c3 (diff) | |
fix empty scope bug
| -rw-r--r-- | xmake/core/base/interpreter.lua | 2 |
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 |
