as a workaround for SunOS 4's cc.
CCL_SUSPEND (CCL_STAT_SUSPEND_BY_DST); \
} while (0)
-/* Read one byte from the current input buffer into Rth register. */
-#define CCL_READ_CHAR(r) \
+/* Read one byte from the current input buffer into REGth register. */
+#define CCL_READ_CHAR(REG) \
do { \
if (!src) \
CCL_INVALID_CMD; \
else if (src < src_end) \
{ \
- r = *src++; \
- if (r == '\n' \
+ REG = *src++; \
+ if (REG == '\n' \
&& ccl->eol_type != CODING_EOL_LF) \
{ \
/* We are encoding. */ \
else \
{ \
ccl->cr_consumed = 1; \
- r = '\r'; \
+ REG = '\r'; \
src--; \
} \
} \
else \
- r = '\r'; \
+ REG = '\r'; \
} \
- if (r == LEADING_CODE_8_BIT_CONTROL \
+ if (REG == LEADING_CODE_8_BIT_CONTROL \
&& ccl->multibyte) \
- r = *src++ - 0x20; \
+ REG = *src++ - 0x20; \
} \
else if (ccl->last_block) \
{ \