git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4980
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/SDCCsymt.c (computeType): fixed bug, thanks Fan Weiguang
+
2007-12-16 Borut Razem <borut.razem AT siol.net>
* device/include/pic16/stdbool.h: removed, since already exists in
2007-12-16 Borut Razem <borut.razem AT siol.net>
* device/include/pic16/stdbool.h: removed, since already exists in
/* if both are bitvars choose the larger one */
else if (IS_BITVAR (etype1) && IS_BITVAR (etype2))
rType = SPEC_BLEN (etype1) >= SPEC_BLEN (etype2) ?
/* if both are bitvars choose the larger one */
else if (IS_BITVAR (etype1) && IS_BITVAR (etype2))
rType = SPEC_BLEN (etype1) >= SPEC_BLEN (etype2) ?
- copyLinkChain (type1) : copyLinkChain (type1);
+ copyLinkChain (type1) : copyLinkChain (type2);
/* if only one of them is a bit variable then the other one prevails */
else if (IS_BITVAR (etype1) && !IS_BITVAR (etype2))
/* if only one of them is a bit variable then the other one prevails */
else if (IS_BITVAR (etype1) && !IS_BITVAR (etype2))