diff options
| author | ruki <[email protected]> | 2020-09-25 00:33:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-25 00:33:07 +0800 |
| commit | 90af4956738036172984f068502624bbc515cae7 (patch) | |
| tree | 7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/modules/core/tools/ml.lua | |
| parent | 700f08a7bae11c22295f884610f98b7b99eb1790 (diff) | |
fix trailing white-space
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index 3d6fb7c18..0e79bc581 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -11,7 +11,7 @@ -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. --- +-- -- Copyright (C) 2015-2020, TBOOX Open Source Group. -- -- @author ruki @@ -26,7 +26,7 @@ import("private.tools.vstool") -- @see https://docs.microsoft.com/en-us/cpp/assembler/masm/ml-and-ml64-command-line-reference -- function init(self) - + -- init asflags if self:program():find("64") then self:set("asflags", "-nologo") @@ -35,7 +35,7 @@ function init(self) end -- init flags map - self:set("mapflags", + self:set("mapflags", { -- symbols ["-g"] = "-Z7" @@ -61,8 +61,8 @@ end function nf_warning(self, level) -- the maps - local maps = - { + local maps = + { none = "-w" , less = "-W1" , more = "-W3" @@ -72,7 +72,7 @@ function nf_warning(self, level) } -- make it - return maps[level] + return maps[level] end -- make the define flag |
