From cedd7c8710a497e3facce3a81383216f88000ee7 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 10 Nov 2017 22:28:18 +0800 Subject: fix interpreter bug --- xmake/core/base/interpreter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1