mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Handle comments in line continuations
This commit is contained in:
@@ -909,6 +909,8 @@ static void readLineContinuation(void)
|
|||||||
|| lexerState->expansions->distance)
|
|| lexerState->expansions->distance)
|
||||||
lexerState->lineNo++;
|
lexerState->lineNo++;
|
||||||
return;
|
return;
|
||||||
|
} else if (c == ';') {
|
||||||
|
discardComment();
|
||||||
} else {
|
} else {
|
||||||
error("Begun line continuation, but encountered character '%s'\n",
|
error("Begun line continuation, but encountered character '%s'\n",
|
||||||
print(c));
|
print(c));
|
||||||
|
|||||||
Reference in New Issue
Block a user