about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/parse.c b/Src/parse.c
index 0812f9137..1b9a561e0 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1663,6 +1663,9 @@ par_simple(int *complex, int nr)
 	    zlong oldlineno = lineno;
 	    int onp, so, oecssub = ecssub;
 
+	    if (!isset(MULTIFUNCDEF) && argc > 1)
+		YYERROR(oecused);
+
 	    *complex = c;
 	    lineno = 0;
 	    incmdpos = 1;