void * is allowed
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 30 Oct 2001 12:53:08 +0000 (12:53 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 30 Oct 2001 12:53:08 +0000 (12:53 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1466 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCast.c

index 9dfec48e8d0d0ad50c56340a631bef0fe04f25a8..4f52b34099b47822ab4cd111b535b416b9c9d23c 100644 (file)
@@ -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);
     }