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