summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regex.c b/regex.c
index 47693e97..3fb6b42c 100644
--- a/regex.c
+++ b/regex.c
@@ -2272,7 +2272,7 @@ static void print_class_char(val ch, val first_p, val stream, int *semi_flag)
put_char(ch, stream);
return;
}
- out_str_char(c_chr(ch), stream, semi_flag);
+ out_str_char(c_chr(ch), stream, semi_flag, 1);
}
static void print_rec(val exp, val stream, int *semi_flag);
@@ -2311,7 +2311,7 @@ static void print_rec(val exp, val stream, int *semi_flag)
put_char(exp, stream);
break;
default:
- out_str_char(ch, stream, semi_flag);
+ out_str_char(ch, stream, semi_flag, 1);
}
} else if (stringp(exp)) {
cnum i;