aboutsummaryrefslogtreecommitdiff
path: root/manual/extension_modules.md
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2019-10-26 10:40:10 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2019-10-26 10:40:10 +0300
commitc07ed1986623ab697c1e76822afc416fc76a8caa (patch)
treee28e6cbe2fa8481d3493f5794e1f14b9ff68acf1 /manual/extension_modules.md
parent868fba56526185e2939b21af77285f25b4a922aa (diff)
downloadxmake-docs-c07ed1986623ab697c1e76822afc416fc76a8caa.tar.gz
xmake-docs-c07ed1986623ab697c1e76822afc416fc76a8caa.zip
Fix typosfix-typos
Diffstat (limited to 'manual/extension_modules.md')
-rw-r--r--manual/extension_modules.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/extension_modules.md b/manual/extension_modules.md
index c51de69c..db41c58d 100644
--- a/manual/extension_modules.md
+++ b/manual/extension_modules.md
@@ -149,7 +149,7 @@ function main(...)
-- Run the built-in xmake configuration task, equivalent to: xmake f|config --plat=iphoneos --arch=armv7
task.run("config", {plat="iphoneos", arch="armv7"})
-emd
+end
```
### core.tool.linker
@@ -289,7 +289,7 @@ For the target, link the specified object file list to generate the correspondin
compiler.compile("xxx.c", "xxx.o", "xxx.h.d", {target = target})
```
-Where [target](#target) is the project target, here is the specific compile option that is mainly used to get the taeget. If you get the project target object, see: [core.project.project](#core-project-project)
+Where [target](#target) is the project target, here is the specific compile option that is mainly used to get the target. If you get the project target object, see: [core.project.project](#core-project-project)
The `xxx.h.d` file is used to store the header file dependency file list for this source file. Finally, these two parameters are optional. You can not pass them when compiling:
@@ -870,7 +870,7 @@ end
Load specific language objects from the source file extension: `.cc, .c, .cpp, .mm, .swift, .go ..`, for example:
```lua
-local lang = language.load_sk(".cpp")
+local lang = language.load_ex(".cpp")
if lang then
print(lang:name())
end