git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3249
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-03-06 Hans Dorn <hjdorn AT users.sourceforge.net>
+
+ * src/pic16/gen.c: (genpic16Code) use copy of printILine's output
+ for writing icode into asm output.
+
2004-03-05 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c: added some debug lines enabled
}
if(options.iCodeInAsm) {
+ char *l;
/* insert here code to print iCode as comment */
- pic16_emitpcomment("ic:%d: %s", ic->seq, printILine(ic));
+ l = Safe_strdup(printILine(ic));
+ pic16_emitpcomment("ic:%d: %s", ic->seq, l);
}
/* if the result is marked as