aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-05-05 21:44:26 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-05-05 21:44:26 +0300
commit4acad864db8a3b54acbe6a6416b7138464f693ce (patch)
tree4e570e4f1273e69ba71b6331141b4611cd40a2cf /builtin.c
parent47f5b43b056dd48a68ca73cce9cfefa287bac005 (diff)
downloadegawk-4acad864db8a3b54acbe6a6416b7138464f693ce.tar.gz
egawk-4acad864db8a3b54acbe6a6416b7138464f693ce.tar.bz2
egawk-4acad864db8a3b54acbe6a6416b7138464f693ce.zip
Small fixes.
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 */