public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f3afa
)
bug fix
author
ceriel
<none@none>
Fri, 6 Feb 1987 10:27:57 +0000
(10:27 +0000)
committer
ceriel
<none@none>
Fri, 6 Feb 1987 10:27:57 +0000
(10:27 +0000)
modules/src/read_em/reade.c
patch
|
blob
|
history
diff --git
a/modules/src/read_em/reade.c
b/modules/src/read_em/reade.c
index
16ba0c0
..
7c71bb3
100644
(file)
--- a/
modules/src/read_em/reade.c
+++ b/
modules/src/read_em/reade.c
@@
-619,7
+619,12
@@
gethead()
argnum = 1;
for (;;) {
EM_lineno++;
- if ((c = getbyte()) == EOF) return 0;
+ c = getbyte();
+ if (c == COMMENTSTARTER) {
+ do c = getbyte();
+ while (c != '\n' && c != EOF);
+ }
+ if (c == EOF) return 0;
if (c == '\n') continue;
if (isspace(c)) {
c = nospace();