characters were treated as unsigneds, lines with quotes in them

where not treated correctly
This commit is contained in:
ceriel
1987-07-24 09:21:24 +00:00
parent 026a3b5011
commit a03073fc67
2 changed files with 4 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ preprocess(fn)
++LineNumber;
++lineno;
echo(c);
break;
}
else if (c == EOI) {
flush(op - _obuf);
@@ -143,8 +144,6 @@ preprocess(fn)
echo(c);
LoadChar(c);
if (c == '\n') {
++LineNumber;
lineno++;
break;
}
else if (c == EOI) {
@@ -162,6 +161,8 @@ preprocess(fn)
}
while (c != stopc);
echo(c);
if (c == '\n')
break; /* Don't eat # */
LoadChar(c);
continue;
}