From a675d058db7587eaf2f95da3e6d14fdacf01a7b0 Mon Sep 17 00:00:00 2001 From: Marlon Richert Date: Mon, 6 Sep 2021 14:16:18 -0700 Subject: 49378: skip check for collision of aliases and functions when NO_EXEC --- Src/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/parse.c') diff --git a/Src/parse.c b/Src/parse.c index be26112a5..10d193ba1 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2052,7 +2052,7 @@ par_simple(int *cmplx, int nr) /* Error if preceding assignments */ if (assignments || postassigns) YYERROR(oecused); - if (hasalias && !isset(ALIASFUNCDEF) && argc && + if (isset(EXECOPT) && hasalias && !isset(ALIASFUNCDEF) && argc && hasalias != input_hasalias()) { zwarn("defining function based on alias `%s'", hasalias); YYERROR(oecused); -- cgit 1.4.1