summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/match.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/match.tl b/stdlib/match.tl
index a38798d6..4a326fdb 100644
--- a/stdlib/match.tl
+++ b/stdlib/match.tl
@@ -970,7 +970,7 @@
(unless (plusp len)
(compile-error *match-form*
"variable ~s: positive integer required,\ \
- not ~a" sym))
+ not ~a" sym len))
(with-gensyms (npos)
(list* ^@(require @(with ,npos (+ ,pos ,len))
(<= ,npos (len ,str)))