I wrote: > #define APPEND_CHAR(bufptr, end, newchar) \ > do \ > { \ > if (((bufptr) + 1) >= (end)) \ > return DTERR_BAD_FORMAT; \ > *(bufptr)++ = (newchar); \ > } while (0);
Oh BTW, there definitely should not be a semicolon at the end of that macro ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly