X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCicode.c;h=49d1aaa414046272d4052e3751999912683df3c8;hb=20d011f428a26a3ae0546e7dbc0c1f89ded856ce;hp=32f913aec7f0a10e33a7ac3013399320ebd9f20a;hpb=3aaea86ff1d81cbb0432170e66afe22222fd9614;p=fw%2Fsdcc diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 32f913ae..49d1aaa4 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -2118,7 +2118,7 @@ aggrToPtr (sym_link * type, bool force) return type; etype = getSpec (type); - ptype = newLink (); + ptype = newLink (DECLARATOR); ptype->next = type; @@ -2451,8 +2451,7 @@ geniCodeAddressOf (operand * op) /* return op; */ /* } */ - p = newLink (); - p->class = DECLARATOR; + p = newLink (DECLARATOR); #ifdef JWK /* set the pointer depending on the storage class */