+2004-12-24 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/pic16/pcode.c: declaring variables other than at the start of a
+ block is not supported in C by VC6.
+
2004-12-22 Vangelis Rokas <vrokas AT otenet.gr>
* applied a previous patch from Raphael Neider that wasn't included
//fprintf (stderr, "%s:%d: %s\n", __FILE__, __LINE__, __FUNCTION__);
for (pb = the_pFile->pbHead; pb != NULL; pb = pb->next) {
- iteration = 1;
int matchedInvertRule = 1;
+ iteration = 1;
do {
//fprintf (stderr, "%s:%d: iterating over pBlock %p\n", __FUNCTION__, __LINE__, pb);
change = 0;
if (IS_GOTO(pc)) {
- label = PCI(pc)->pcop->name;
+ int dist;
int condBraType = isSkipOnStatus(pc_prev);
- int dist = findpCodeLabel(pc, label, MAX_DIST_BRA, &target);
+ label = PCI(pc)->pcop->name;
+ dist = findpCodeLabel(pc, label, MAX_DIST_BRA, &target);
if (dist < 0) dist = -dist;
//fprintf (stderr, "distance: %d (", dist); pc->print(stderr, pc);fprintf (stderr, ")\n");
isHandled = 0;