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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user