aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 0 insertions, 4 deletions
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 */