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 == '/') {