can this have lived here for so many years?
* src/SDCCicode.c (ast2iCode): return left instead of right for assignment,
fixes bug
1273984, see also patch
1645121, thanks Günther Jehle
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4621
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-02-07 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/lib/printf_large.c (_print_format): fixed compare/assign bug, how
+ can this have lived here for so many years?
+ * src/SDCCicode.c (ast2iCode): return left instead of right for assignment,
+ fixes bug 1273984, see also patch 1645121, thanks Günther Jehle
+
2007-02-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes
}
if (c=='.') {
- if (decimals=-1) decimals=0;
+ if (decimals==-1) decimals=0;
else
; // duplicate, ignore
goto get_conversion_spec;
else
right = geniCodeRValue (right, FALSE);
- geniCodeAssign (left, right, 0, 1);
- return right;
+ return geniCodeAssign (left, right, 0, 1);
}
case MUL_ASSIGN:
return