bug fix
This commit is contained in:
parent
d3f3afa6e7
commit
e60f0f3981
1 changed files with 6 additions and 1 deletions
|
@ -619,7 +619,12 @@ gethead()
|
||||||
argnum = 1;
|
argnum = 1;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
EM_lineno++;
|
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 (c == '\n') continue;
|
||||||
if (isspace(c)) {
|
if (isspace(c)) {
|
||||||
c = nospace();
|
c = nospace();
|
||||||
|
|
Loading…
Reference in a new issue