* cpplib.c (macroexpand): Correct off-by-one error in handling
of escapes.
From-SVN: r22827
+Mon Oct 5 01:01:42 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * cpplib.c (macroexpand): Correct off-by-one error in handling
+ of escapes.
+
Sun Oct 4 23:58:30 1998 Richard Henderson <rth@cygnus.com>
* combine.c (expand_field_assignment): Don't do bitwise operations
/* If whitespace is preceded by an odd number
of `@' signs, the last `@' was a whitespace
marker; drop it too. */
- while (p2 != p1 && p2[-1] == '@') p2--;
- if ((l1 - 1 - p2) & 1)
+ while (p2 != p1 && p2[0] == '@') p2--;
+ if ((l1 - p2) & 1)
l1--;
break;
}
/* If a `-' is preceded by an odd number of
`@' signs then it and the last `@' are
a no-reexpansion marker. */
- while (p2 != p1 && p2[-1] == '@') p2--;
- if ((l1 - 1 - p2) & 1)
+ while (p2 != p1 && p2[0] == '@') p2--;
+ if ((l1 - p2) & 1)
l1 -= 2;
else
break;