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
1 changed files with 40 additions and 38 deletions
|
@ -188,6 +188,7 @@ CheckForLineDirective()
|
||||||
register char *c = buf;
|
register char *c = buf;
|
||||||
|
|
||||||
|
|
||||||
|
for (;;) {
|
||||||
if (ch != '#') {
|
if (ch != '#') {
|
||||||
PushBack();
|
PushBack();
|
||||||
return;
|
return;
|
||||||
|
@ -238,6 +239,7 @@ CheckForLineDirective()
|
||||||
}
|
}
|
||||||
LineNumber = i;
|
LineNumber = i;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
CheckForLet()
|
CheckForLet()
|
||||||
|
|
Loading…
Add table
Reference in a new issue