From c498387d37f4f912775bb6e58300dfaa92439eb7 Mon Sep 17 00:00:00 2001 From: johanknol Date: Tue, 2 Oct 2001 12:34:02 +0000 Subject: [PATCH] fixed the: void fun(int arg, void (*iterator)(int arg) reentrant) { (*iterator)(arg, arg); } case git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1344 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SDCCast.c b/src/SDCCast.c index 25640f80..2e95ad9f 100644 --- a/src/SDCCast.c +++ b/src/SDCCast.c @@ -634,9 +634,9 @@ processParms (ast * func, /* if defined parameters ended but actual parameters */ /* exist and this is not defined as a variable arg */ - /* also check if statckAuto option is specified */ - if ((!defParm) && actParm && (!func->hasVargs) && - !options.stackAuto && !IS_RENT (fetype)) + /* also check if statckAuto option is specified */ // jwk: WHY? + if ((!defParm) && actParm && (!func->hasVargs) + /* && !options.stackAuto && !IS_RENT (fetype) */) { werror (E_TOO_MANY_PARMS); return 1; -- 2.47.2