On Tue, 19 Jun 2001, Greg A. Woods wrote:
> while you could do that, it would be rather silly to introduce such a
> change just to support one broken compiler.....
It would not be the first. Admittedly, most such changes are to avoid
compiler warnings, so in effect they are reducing the code to the least
ambiguous case. However, in the source of PCRE you will find this:
if (c == '#')
{
/* The space before the ; is to avoid a warning on a silly compiler
on the Macintosh. */
while ((c = *(++ptr)) != 0 && c != '\n') ;
continue;
}
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.