From 05d4814a610419a41b380a507117fdd544ef597f Mon Sep 17 00:00:00 2001 From: johanknol Date: Tue, 30 Oct 2001 12:53:08 +0000 Subject: [PATCH] void * is allowed git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1466 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCast.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDCCast.c b/src/SDCCast.c index 9dfec48e..4f52b340 100644 --- a/src/SDCCast.c +++ b/src/SDCCast.c @@ -643,7 +643,7 @@ processParms (ast * func, return 1; } - if (IS_VOID(actParm->etype)) { + if (IS_VOID(actParm->ftype)) { werror (E_VOID_VALUE_USED); return 1; } @@ -1032,7 +1032,7 @@ ast * initAggregates (symbol * sym, initList * ival, ast * wid) { if (!TARGET_IS_MCS51 || !(options.model==MODEL_LARGE)) { fprintf (stderr, "Can't \"TRY_THE_NEW_INITIALIZER\" unless " - "with -mmcs51 and --model-large"); + "with -mmcs51 and --model-large\n"); exit(404); } -- 2.47.2