summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index cc9e878812..9de2764154 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -22557,6 +22557,8 @@ ex_function(eap)
break;
}
}
+ if (*p != ')')
+ goto erret;
++p; /* skip the ')' */
/* find extra arguments "range", "dict" and "abort" */