summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-10-12 17:31:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-10-12 17:31:31 -0700
commit5035f0fa8d4fd1aa028dc33090c896d9798b90c4 (patch)
tree686f70ca58ab6ac538b99cb4368afc6a10fca599
parent023b5e98b22cc6836fc7af17ea9681af59fe4f8f (diff)
downloadtxr-5035f0fa8d4fd1aa028dc33090c896d9798b90c4.tar.gz
txr-5035f0fa8d4fd1aa028dc33090c896d9798b90c4.tar.bz2
txr-5035f0fa8d4fd1aa028dc33090c896d9798b90c4.zip
awk: unwanted package prefix in error message.
* share/txr/stdlib/awk.tl (sys:awk-code-move-check): A symbol in the sys: package is being used just for the English word that its name supplies, so print it using ~a so the sys: prefix doesn't appear.
-rw-r--r--share/txr/stdlib/awk.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/awk.tl b/share/txr/stdlib/awk.tl
index b4f6c8c8..4e603f9e 100644
--- a/share/txr/stdlib/awk.tl
+++ b/share/txr/stdlib/awk.tl
@@ -344,7 +344,7 @@
(when suspicious-vars
(compile-warning mainform "~!form ~s\n\
is moved out of the apparent scope\n\
- and thus cannot refer to ~s ~s"
+ and thus cannot refer to ~a ~s"
subform kind suspicious-vars)))
(defmacro sys:awk-mac-let (awc aws-sym . body)