mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Improve some error messages
This commit is contained in:
@@ -982,8 +982,11 @@ static void discardLineContinuation() {
|
||||
break;
|
||||
} else if (c == ';') {
|
||||
discardComment();
|
||||
} else if (c == EOF) {
|
||||
error("Invalid line continuation at end of file");
|
||||
break;
|
||||
} else {
|
||||
error("Begun line continuation, but encountered character %s", printChar(c));
|
||||
error("Invalid character after line continuation %s", printChar(c));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user