diff options
Diffstat (limited to 'xmake/core/base/interpreter.lua')
| -rw-r--r-- | xmake/core/base/interpreter.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua index 716ce3004..c8b087333 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -1854,6 +1854,7 @@ function interpreter:api_builtin_namespace(name, callback) self._NAMESPACE = namespace end table.insert(namespace, name) + self._NAMESPACE_STR = table.concat(namespace, "::") if callback and type(callback) == "function" then callback() self:api_builtin_namespace_end() @@ -1865,6 +1866,7 @@ function interpreter:api_builtin_namespace_end() local namespace = self._NAMESPACE if namespace then table.remove(namespace) + self._NAMESPACE_STR = table.concat(namespace, "::") end end |
