diff options
| author | ruki <[email protected]> | 2025-01-07 23:19:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-07 23:19:03 +0800 |
| commit | bd6ded54efbea8fe01040941ce8d39951a8431c9 (patch) | |
| tree | dd9666e69463dfb7e0c69400c41e06c95293d659 /xmake/core/base/interpreter.lua | |
| parent | 9021afe5a0fd56abc7683409c921fd60de786588 (diff) | |
fix package with 3rd namespace
Diffstat (limited to 'xmake/core/base/interpreter.lua')
| -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 5ae08de33..2ae021f79 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -260,7 +260,7 @@ function interpreter:_api_register_xxx_values(scope_kind, action, apifunc, ...) -- init current root scope local rootkey = scope_kind - if namespace then + if namespace and scope_kind ~= "__rootkind" then rootkey = scope_kind .. "@@" .. namespace .. "::" end local root = scopes._ROOT[rootkey] or {} |
