summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-03-27 20:44:37 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-03-27 20:44:37 -0700
commit231f47d20444fab037f91c0a25ebed84690a0a21 (patch)
tree2fdd9c3c13532ea2709a9e098bae2756a1ea2a73
parent5c7d29fc94b805dfad253b804c315448cfea17a1 (diff)
downloadtxr-231f47d20444fab037f91c0a25ebed84690a0a21.tar.gz
txr-231f47d20444fab037f91c0a25ebed84690a0a21.tar.bz2
txr-231f47d20444fab037f91c0a25ebed84690a0a21.zip
doc: compiler-opts typo.
* txr.1: Fix compiler-opts, *compiler-opts* and with-compiler-opts to the correct "compile". * stdlib/doc-syms.tl: Updated.
-rw-r--r--stdlib/doc-syms.tl2
-rw-r--r--txr.118
2 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index 14d88c7a..36df7eea 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -9,7 +9,7 @@
("*args-eff*" "N-03DEE18A")
("*args-full*" "N-03DEE18A")
("*child-env*" "N-01BB2097")
- ("*compiler-opts*" "N-005A796B")
+ ("*compile-opts*" "N-03E15FAA")
("*doc-url*" "N-0003D10B")
("*filters*" "N-00E6A902")
("*gensym-counter*" "N-0387B1B1")
diff --git a/txr.1 b/txr.1
index 97e22b99..9f490b1a 100644
--- a/txr.1
+++ b/txr.1
@@ -87052,7 +87052,7 @@ is not loadable by \*(TX 260 and older.
By default, the
.code unused
diagnostic option is enabled in
-.codn *compiler-opts* ,
+.codn *compile-opts* ,
causing unused variables to be diagnosed.
The first step in resolving an unused variable diagnostic is to determine
@@ -87070,7 +87070,7 @@ for instance, compile
with unused warnings disabled:
.verb
- (with-compiler-opts (nil unused)
+ (with-compile-opts (nil unused)
(compile-file "foo.tl"))
.brev
@@ -87941,11 +87941,11 @@ The
structure represents compiler options: its slots are variables which affect
compiler behavior.
The compiler expects the special variable
-.code *compiler-opts*
+.code *compile-opts*
to hold a
-.code compiler-opts
+.code compile-opts
structure. It is recommended to manipulate options using the
-.code with-compiler-opts
+.code with-compile-opts
macro.
Currently, all of the options are diagnostic. In the future, there may be other
@@ -88021,14 +88021,14 @@ traversed in a way that would cause it to be noted as accessing the
variable.
.RE
-.coNP Special variable @ *compiler-opts*
+.coNP Special variable @ *compile-opts*
.desc
The special variable
-.code *compiler-opts*
+.code *compile-opts*
holds a value of type
-.code compiler-opts
+.code compile-opts
which is a structure type. It is recommended to manipulate options using the
-.code with-compiler-opts
+.code with-compile-opts
macro.
.coNP Macro @ with-compile-opts