summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortersec <tersec@users.noreply.github.com>2022-07-21 07:41:33 +0000
committerGitHub <noreply@github.com>2022-07-21 09:41:33 +0200
commit1a9123eb90db68d037b5ba5ad11fa0e8534b83c8 (patch)
treecdb482f51d0d413d81962587969ac02ef22fa4d8
parentefcb89fa702da5bd5d2cf000ace759df90152895 (diff)
downloadNim-1a9123eb90db68d037b5ba5ad11fa0e8534b83c8.tar.gz
Use `passc` and `passl` consistently with compiler checking (#20068)
-rw-r--r--doc/manual.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/manual.md b/doc/manual.md
index 503b9538b..d6cbf0785 100644
--- a/doc/manual.md
+++ b/doc/manual.md
@@ -7215,7 +7215,7 @@ The `link` pragma can be used to link an additional file with the project:
   {.link: "myfile.o".}
 
 
-PassC pragma
+passc pragma
 ------------
 The `passc` pragma can be used to pass additional parameters to the C
 compiler like one would using the command-line switch `--passc`:option:\:
@@ -7243,20 +7243,20 @@ the pragma resides in:
   {.localPassC: "-Wall -Werror".} # Passed when compiling A.nim.cpp
 
 
-PassL pragma
+passl pragma
 ------------
-The `passL` pragma can be used to pass additional parameters to the linker
-like one would be using the command-line switch `--passL`:option:\:
+The `passl` pragma can be used to pass additional parameters to the linker
+like one would be using the command-line switch `--passl`:option:\:
 
 .. code-block:: Nim
-  {.passL: "-lSDLmain -lSDL".}
+  {.passl: "-lSDLmain -lSDL".}
 
 Note that one can use `gorge` from the `system module <system.html>`_ to
 embed parameters from an external command that will be executed
 during semantic analysis:
 
 .. code-block:: Nim
-  {.passL: gorge("pkg-config --libs sdl").}
+  {.passl: gorge("pkg-config --libs sdl").}
 
 
 Emit pragma
@@ -7570,7 +7570,7 @@ allows *sloppy* interfacing with libraries written in Objective C:
 .. code-block:: Nim
   # horrible example of how to interface with GNUStep ...
 
-  {.passL: "-lobjc".}
+  {.passl: "-lobjc".}
   {.emit: """
   #include <objc/Object.h>
   @interface Greeter:Object