From f757c85714ee4c7870aa07587c65f3a36a530064 Mon Sep 17 00:00:00 2001 From: johanknol Date: Mon, 24 Feb 2003 13:55:16 +0000 Subject: [PATCH] fixed bug #679679 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2305 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCC.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.2