diff options
| author | ruki <[email protected]> | 2017-11-10 22:28:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-11-10 08:49:50 +0800 |
| commit | cedd7c8710a497e3facce3a81383216f88000ee7 (patch) | |
| tree | de0f98387f583465f42119deaefbb50735818070 /xmake/core/base/interpreter.lua | |
| parent | fffaaa614f5c3098f309fce4e7e6342659e5817f (diff) | |
fix interpreter bug
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 24fa05185..8f2877873 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -243,7 +243,7 @@ function interpreter:_api_register_xxx_values(scope_kind, action, apifunc, ...) assert(scope) -- set values (set, on, before, after ...)? mark as "override" - if apiname and (action ~= "add" or action ~= "del") then + if apiname and (action ~= "add" and action ~= "del") then scope["__override_" .. apiname] = true end |
