mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-23 15:24:35 +00:00
Error messages refer to "undefined" symbols and sections
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ void layout_PlaceSection(std::string const &name, bool isOptional) {
|
||||
Section *section = sect_GetSection(name.c_str());
|
||||
if (!section) {
|
||||
if (!isOptional) {
|
||||
lexer_Error("Unknown section \"%s\"", name.c_str());
|
||||
lexer_Error("Undefined section \"%s\"", name.c_str());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user