some fixes, f.i. process # in actual parameter list

This commit is contained in:
ceriel
1989-10-12 11:16:02 +00:00
parent 5281bcf441
commit 0fe46680f1
3 changed files with 18 additions and 5 deletions

View File

@@ -81,6 +81,7 @@ preprocess(fn)
for (;;) {
if (c & 0200) {
if (c == EOI) {
newline();
flush(op-_obuf);
return;
}
@@ -102,6 +103,7 @@ preprocess(fn)
echo(c);
}
else if (c == EOI) {
newline();
flush(op - _obuf);
return;
}
@@ -149,6 +151,7 @@ preprocess(fn)
break;
}
else if (c == EOI) {
newline();
flush(op-_obuf);
return;
}
@@ -161,8 +164,7 @@ preprocess(fn)
}
else if (c == '\'') escaped = 1;
}
}
while (escaped || c != stopc);
} while (escaped || c != stopc);
echo(c);
if (c == '\n')
break; /* Don't eat # */