public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e68ea0
)
Only echo the newlines in comments, no formfeeds, etc, because
author
ceriel
<none@none>
Thu, 5 Mar 1987 11:07:16 +0000
(11:07 +0000)
committer
ceriel
<none@none>
Thu, 5 Mar 1987 11:07:16 +0000
(11:07 +0000)
you don't know what you are preprocessing.
util/cpp/preprocess.c
patch
|
blob
|
history
diff --git
a/util/cpp/preprocess.c
b/util/cpp/preprocess.c
index
d33d17a
..
0fb4378
100644
(file)
--- a/
util/cpp/preprocess.c
+++ b/
util/cpp/preprocess.c
@@
-92,7
+92,7
@@
preprocess(fn)
}
for (;;) {
LoadChar(c);
- if (c
lass(c) == STNL
) {
+ if (c
== '\n'
) {
++LineNumber;
++lineno;
echo(c);