fixed bug, added -o option

This commit is contained in:
eck
1989-10-31 10:02:48 +00:00
parent cc56ae65dd
commit bac0ae9da3
5 changed files with 27 additions and 11 deletions

View File

@@ -205,12 +205,16 @@ preprocess(fn)
continue;
}
case STNUM:
/* The following code is quit ugly. This because
* ..3 == . .3 , whereas ...3 == ... 3
*/
echo(c);
if (c == '.') {
c = GetChar();
if (c == '.') {
if ((c = GetChar()) == '.') {
echo('.'); echo('.');
c = GetChar();
continue;
}
UnGetChar();