fixed bug #679679
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 24 Feb 2003 13:55:16 +0000 (13:55 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 24 Feb 2003 13:55:16 +0000 (13:55 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2305 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCC.y

index ab27ae5aef46627737cd0b49f172fb09241e318f..bc7137e668b9a95f9d78f40a2fe3ff8c28da72fe 100644 (file)
@@ -1163,7 +1163,7 @@ abstract_declarator2
      $1->next=p;
    }
    | abstract_declarator2 '(' parameter_type_list ')' {
-     if (!IS_VOID($3->type)) {
+     if (!IS_VOID($3->etype)) {
        // this is nonsense, so let's just burp something
        werror(E_TOO_FEW_PARMS);
      } else {