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
commite640d29522bd832f88874a6c955e14031481e380 (patch)
tree5f38d5984b32ade57e942ec8dcd4e48c4f514c03
parent7947bf8dcdde549456493295f12ab03b5ec852b2 (diff)
downloadtxr-e640d29522bd832f88874a6c955e14031481e380.tar.gz
txr-e640d29522bd832f88874a6c955e14031481e380.tar.bz2
txr-e640d29522bd832f88874a6c955e14031481e380.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)