From: johanknol Date: Mon, 24 Feb 2003 13:55:16 +0000 (+0000) Subject: fixed bug #679679 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=f757c85714ee4c7870aa07587c65f3a36a530064;p=fw%2Fsdcc fixed bug #679679 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2305 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCC.y b/src/SDCC.y index ab27ae5a..bc7137e6 100644 --- a/src/SDCC.y +++ b/src/SDCC.y @@ -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 {