summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-17 09:01:24 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-17 09:01:24 -0700
commit92fd7cf9fb500f11dbe3c231900d95c68b79faac (patch)
tree5f38d5984b32ade57e942ec8dcd4e48c4f514c03
parent3ecf0a2136ed2aef3c23620608e7b23b82f31cd4 (diff)
downloadtxr-92fd7cf9fb500f11dbe3c231900d95c68b79faac.tar.gz
txr-92fd7cf9fb500f11dbe3c231900d95c68b79faac.tar.bz2
txr-92fd7cf9fb500f11dbe3c231900d95c68b79faac.zip
ash: fix wrong function name in diagnostics.
* arith.c (ash): Refer to ash in error messages rather than ashift.
-rw-r--r--arith.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arith.c b/arith.c
index 537c1a0d..93341d3c 100644
--- a/arith.c
+++ b/arith.c
@@ -2473,13 +2473,13 @@ val ash(val a, val bits)
}
bad:
- uw_throwf(error_s, lit("ashift: operation failed on ~s"), a, nao);
+ uw_throwf(error_s, lit("ash: operation failed on ~s"), a, nao);
bad2:
- uw_throwf(error_s, lit("ashift: bits value ~s is not a fixnum"), bits, nao);
+ uw_throwf(error_s, lit("ash: bits value ~s is not a fixnum"), bits, nao);
bad3:
- uw_throwf(error_s, lit("ashift: non-integral operand ~s"), a, nao);
+ uw_throwf(error_s, lit("ash: non-integral operand ~s"), a, nao);
}
val bit(val a, val bit)