From b2bc064a2378ed838067d445fc054e99a451eeed Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 27 Mar 2023 20:44:37 -0700 Subject: doc: compiler-opts typo. * txr.1: Fix compiler-opts, *compiler-opts* and with-compiler-opts to the correct "compile". * stdlib/doc-syms.tl: Updated. --- stdlib/doc-syms.tl | 2 +- txr.1 | 18 +++++++++--------- 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 -- cgit v1.2.3