diff options
| author | ruki <[email protected]> | 2017-09-18 22:54:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-18 11:25:24 +0800 |
| commit | 8f55f2e39ae47b7e9bc206d5ddf62a99d25c9d0f (patch) | |
| tree | 18ddc8e1a86fe0c8123be6924ab1d02d1013e177 /xmake/core/base/interpreter.lua | |
| parent | 9e730f52fd7a2dfecefc88ca620db855d6aa668b (diff) | |
add add_imports to bulk import modules
Diffstat (limited to 'xmake/core/base/interpreter.lua')
| -rw-r--r-- | xmake/core/base/interpreter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua index abd5a3945..8be310ed8 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -1079,8 +1079,8 @@ function interpreter:api_register_set_module(scope_kind, ...) os.raise("set_%s(): %s", name, errors) end - -- import the module - local module, errors = instance:import() + -- load the module + local module, errors = instance:module() if not module then os.raise("set_%s(): %s", name, errors) end |
