From 4acad864db8a3b54acbe6a6416b7138464f693ce Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 5 May 2021 21:44:26 +0300 Subject: Small fixes. --- builtin.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index afdb747b..ff4a53af 100644 --- a/builtin.c +++ b/builtin.c @@ -2924,10 +2924,6 @@ do_sub(int nargs, unsigned int flags) } } - if ((target->flags & BOOL) != 0) - fatal(_("%s: target cannot be of type bool"), - (flags & GSUB) != 0 ? "gsub" : "sub"); - global = (how_many == -1); rep_node = POP_STRING(); /* replacement text */ -- cgit v1.2.3