diff options
Diffstat (limited to 'xmake/scripts/base/preprocessor.lua')
| -rw-r--r-- | xmake/scripts/base/preprocessor.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/scripts/base/preprocessor.lua b/xmake/scripts/base/preprocessor.lua index 1a9c1b650..a8fd9fa39 100644 --- a/xmake/scripts/base/preprocessor.lua +++ b/xmake/scripts/base/preprocessor.lua @@ -94,9 +94,6 @@ function preprocessor._register(env, names, filter) if table.getn(arg) == 0 then -- no argument _current[name] = nil - elseif table.getn(arg) == 1 then - -- save only one argument - _current[name] = preprocessor._filter(env, arg[1], filter) else -- save all arguments for _, v in ipairs(arg) do |
