diff options
| author | ruki <[email protected]> | 2015-06-08 11:37:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-08 11:37:42 +0800 |
| commit | c0a3b7585c3dc8f0b0c9c776ae2785359ae1b651 (patch) | |
| tree | 2e7f3b34e23b828a2d567fa055c252a66648565e /xmake/scripts/base/preprocessor.lua | |
| parent | 5d7ee81b32dc42aa82a12a2898e4ddc3466afcdc (diff) | |
improve switches
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 |
