Fixed a small bug where two line number directives next to each other wouldn't
be parsed properly (the second one would be treated as Modula-2 syntax).
This commit is contained in:
parent
8e869b56e7
commit
dbf8332bf0
|
@ -188,6 +188,7 @@ CheckForLineDirective()
|
||||||
register char *c = buf;
|
register char *c = buf;
|
||||||
|
|
||||||
|
|
||||||
|
for (;;) {
|
||||||
if (ch != '#') {
|
if (ch != '#') {
|
||||||
PushBack();
|
PushBack();
|
||||||
return;
|
return;
|
||||||
|
@ -237,6 +238,7 @@ CheckForLineDirective()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LineNumber = i;
|
LineNumber = i;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
|
Loading…
Reference in a new issue