summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-03-13 07:19:40 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-03-13 07:19:40 -0700
commitf3a0b4ddc516de5524862b51af548e277a43a28a (patch)
tree8aacac942c940f8c928c72c4393d3f1797736866 /regex.c
parentbb0476aa11a6f4f24c16ddebcaf3917764655f45 (diff)
downloadtxr-f3a0b4ddc516de5524862b51af548e277a43a28a.tar.gz
txr-f3a0b4ddc516de5524862b51af548e277a43a28a.tar.bz2
txr-f3a0b4ddc516de5524862b51af548e277a43a28a.zip
Fix missing nao terminator in formatted printing.
* arith.c (trunc1, trunc, floorf, ceili): Add missing nao terminator to uw_throwf calls. * debug.c (debug): Missing nao terminator in format call. * eval.c (expand_opt_params_rec, me_equot): Missing nao terminator in eval_error call. * lib.c (use_sym): Missing nao in uw_throw call. * regex.c (reg_derivative): Missing nao in uw_throwf.
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 33f0431a..3bbd3492 100644
--- a/regex.c
+++ b/regex.c
@@ -1741,7 +1741,7 @@ static val reg_derivative(val exp, val ch)
val args = rest(exp);
if (sym == set_s || sym == cset_s) {
- uw_throwf(error_s, lit("uncompiled regex passed to reg_derivative"));
+ uw_throwf(error_s, lit("uncompiled regex passed to reg_derivative"), nao);
} else if (sym == compound_s) {
return reg_derivative_list(args, ch);
} else if (sym == optional_s) {