summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ml.lua
diff options
context:
space:
mode:
authorFrankHB <[email protected]>2019-08-11 18:06:42 +0800
committerFrankHB <[email protected]>2019-08-11 18:06:42 +0800
commit0bdcae97d8d9b2b3afe725f9b857a9994d3b28fa (patch)
tree4a3282446375c2a3e0165170f626a3ca827269bc /xmake/modules/core/tools/ml.lua
parent35878524802b5144368f4bcad14264611a2fcff9 (diff)
fix typos
Changed all 'complie' to 'compile'. Added missing 'the' for some cases. Signed-off-by: FrankHB <[email protected]>
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
-rw-r--r--xmake/modules/core/tools/ml.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua
index 040df6fd7..6b4155e29 100644
--- a/xmake/modules/core/tools/ml.lua
+++ b/xmake/modules/core/tools/ml.lua
@@ -92,12 +92,12 @@ function nf_includedir(self, dir)
return "-I" .. os.args(dir)
end
--- make the complie arguments list
+-- make the compile arguments list
function _compargv1(self, sourcefile, objectfile, flags)
return self:program(), table.join("-c", flags, "-Fo" .. objectfile, sourcefile)
end
--- complie the source file
+-- compile the source file
function _compile1(self, sourcefile, objectfile, dependinfo, flags)
-- ensure the object directory
@@ -107,7 +107,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags)
os.runv(_compargv1(self, sourcefile, objectfile, flags))
end
--- make the complie arguments list
+-- make the compile arguments list
function compargv(self, sourcefiles, objectfile, flags)
-- only support single source file now
@@ -117,7 +117,7 @@ function compargv(self, sourcefiles, objectfile, flags)
return _compargv1(self, sourcefiles, objectfile, flags)
end
--- complie the source file
+-- compile the source file
function compile(self, sourcefiles, objectfile, dependinfo, flags)
-- only support single source file now