fixed bug #679679
[fw/sdcc] / 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 {