mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix unterminated strings in linkerscripts consuming their newline
This commit is contained in:
@@ -306,7 +306,9 @@ yy::parser::symbol_type yylex() {
|
||||
}
|
||||
str.push_back(c);
|
||||
}
|
||||
context.file.sbumpc(); // Consume the closing quote.
|
||||
if (c == '"') {
|
||||
context.file.sbumpc();
|
||||
}
|
||||
|
||||
return yy::parser::make_string(std::move(str));
|
||||
} else if (c == '$') {
|
||||
|
||||
Reference in New Issue
Block a user