From: ceriel Date: Fri, 29 Jul 1988 19:22:48 +0000 (+0000) Subject: fix to fix X-Git-Tag: release-5-5~2964 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0768c4d4f10382bf2de2acbbe7a26ed971941e10;p=ack.git fix to fix --- diff --git a/lang/cem/cemcom/skip.c b/lang/cem/cemcom/skip.c index 53b231203..4f6662fdd 100644 --- a/lang/cem/cemcom/skip.c +++ b/lang/cem/cemcom/skip.c @@ -21,9 +21,13 @@ skipspaces(ch, skipnl) non-space character. */ for (;;) { - while (class(ch) == STSKIP || (skipnl && class(ch) == STNL)) + while (class(ch) == STSKIP) LoadChar(ch); - + if (skipnl && class(ch) == STNL) { + LoadChar(ch); + ++LineNumber; + continue; + } /* How about "\\\n"????????? */ if (ch == '/') {