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;
|
||||
|
||||
|
||||
for (;;) {
|
||||
if (ch != '#') {
|
||||
PushBack();
|
||||
return;
|
||||
|
@ -238,6 +239,7 @@ CheckForLineDirective()
|
|||
}
|
||||
LineNumber = i;
|
||||
}
|
||||
}
|
||||
|
||||
STATIC
|
||||
CheckForLet()
|
||||
|
|
Loading…
Reference in a new issue