Only echo the newlines in comments, no formfeeds, etc, because

you don't know what you are preprocessing.
This commit is contained in:
ceriel 1987-03-05 11:07:16 +00:00
parent 3e68ea031b
commit 66c5ebf42f

View file

@ -92,7 +92,7 @@ preprocess(fn)
} }
for (;;) { for (;;) {
LoadChar(c); LoadChar(c);
if (class(c) == STNL) { if (c == '\n') {
++LineNumber; ++LineNumber;
++lineno; ++lineno;
echo(c); echo(c);