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;
|
||||
|
@ -237,6 +238,7 @@ CheckForLineDirective()
|
|||
return;
|
||||
}
|
||||
LineNumber = i;
|
||||
}
|
||||
}
|
||||
|
||||
STATIC
|
||||
|
|
Loading…
Reference in a new issue