From: johanknol Date: Sun, 1 Jul 2001 10:55:22 +0000 (+0000) Subject: fixed bug #222580 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a649277810119397e42c869a7c6bc743c2420809;p=fw%2Fsdcc fixed bug #222580 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@982 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCC.y b/src/SDCC.y index 279cb5f5..2127c4e6 100644 --- a/src/SDCC.y +++ b/src/SDCC.y @@ -822,6 +822,8 @@ enum_specifier enumerator_list : enumerator + | enumerator_list ',' { + } | enumerator_list ',' enumerator { $3->next = $1 ; $$ = $3 ;