aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-04-14 15:04:42 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-04-14 15:04:42 +0300
commitc187863b95bed5f750b08df898fdfb611a4bdb54 (patch)
tree70d91aa03affa044b550637fcae6abfd127bc265 /builtin.c
parent82ef375e5236341b6550c1c365ec87bd23c049bf (diff)
parent54b3ab3109d5aa01595920e06ca25a815ad525a0 (diff)
downloadegawk-c187863b95bed5f750b08df898fdfb611a4bdb54.tar.gz
egawk-c187863b95bed5f750b08df898fdfb611a4bdb54.tar.bz2
egawk-c187863b95bed5f750b08df898fdfb611a4bdb54.zip
Merge branch 'master' into feature/regex-type
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index 1f59d3f6..db62cb57 100644
--- a/builtin.c
+++ b/builtin.c
@@ -3141,10 +3141,10 @@ call_sub(const char *name, int nargs)
PUSH(rhs);
nargs++;
}
- PUSH(rhs);
+ else
+ PUSH(rhs);
}
-
unref(zero);
result = do_sub(nargs, flags);
if (flags != GENSUB)