mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
DIRECTOR: LINGO: Better diagnostics for unknown fields
This commit is contained in:
parent
a2c971c925
commit
f601168016
@ -1479,7 +1479,7 @@ YY_RULE_SETUP
|
||||
field = Common::String::format("%d%s", g_lingo->_theEntities[ptr]->entity, field.c_str());
|
||||
|
||||
if (!g_lingo->_theEntityFields.contains(field)) {
|
||||
error("LEXER: Unhandled the field %s", ptr);
|
||||
error("LEXER: Unhandled the field %s of %s", field.c_str(), ptr);
|
||||
}
|
||||
|
||||
if (g_lingo->_theEntityFields[field]->entity != g_lingo->_theEntities[ptr]->entity)
|
||||
|
@ -247,7 +247,7 @@ the[ \t]+[[:alpha:]]+[ \t]+of[ \t]+{identifier} {
|
||||
field = Common::String::format("%d%s", g_lingo->_theEntities[ptr]->entity, field.c_str());
|
||||
|
||||
if (!g_lingo->_theEntityFields.contains(field)) {
|
||||
error("LEXER: Unhandled the field %s", ptr);
|
||||
error("LEXER: Unhandled the field %s of %s", field.c_str(), ptr);
|
||||
}
|
||||
|
||||
if (g_lingo->_theEntityFields[field]->entity != g_lingo->_theEntities[ptr]->entity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user