mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 02:38:32 +00:00
DIRECTOR: LINGO: Improved debug output
This commit is contained in:
parent
b21632c835
commit
c5c8f3458b
@ -1387,11 +1387,11 @@ YY_RULE_SETUP
|
||||
field = Common::String::format("%d%s", g_lingo->_theEntities[ptr]->entity, field.c_str());
|
||||
|
||||
if (!g_lingo->_theEntityFields.contains(field)) {
|
||||
error("Unhandled the field %s", ptr);
|
||||
error("LEXER: Unhandled the field %s", ptr);
|
||||
}
|
||||
|
||||
if (g_lingo->_theEntityFields[field]->entity != g_lingo->_theEntities[ptr]->entity)
|
||||
error("Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
error("LEXER: Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
|
||||
yylval.e[0] = g_lingo->_theEntities[ptr]->entity;
|
||||
yylval.e[1] = g_lingo->_theEntityFields[field]->field;
|
||||
@ -1402,7 +1402,7 @@ YY_RULE_SETUP
|
||||
return THEENTITY;
|
||||
}
|
||||
|
||||
warning("Unhandled the entity %s", ptr);
|
||||
warning("LEXER: Unhandled the entity %s", ptr);
|
||||
}
|
||||
YY_BREAK
|
||||
case 52:
|
||||
@ -1425,11 +1425,11 @@ YY_RULE_SETUP
|
||||
field = Common::String::format("%d%s", g_lingo->_theEntities[ptr]->entity, field.c_str());
|
||||
|
||||
if (!g_lingo->_theEntityFields.contains(field)) {
|
||||
error("Unhandled the field %s", ptr);
|
||||
error("LEXER: Unhandled the field %s", ptr);
|
||||
}
|
||||
|
||||
if (g_lingo->_theEntityFields[field]->entity != g_lingo->_theEntities[ptr]->entity)
|
||||
error("Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
error("LEXER: Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
|
||||
yylval.e[0] = g_lingo->_theEntities[ptr]->entity;
|
||||
yylval.e[1] = g_lingo->_theEntityFields[field]->field;
|
||||
@ -1460,7 +1460,7 @@ YY_RULE_SETUP
|
||||
return THEENTITY;
|
||||
}
|
||||
|
||||
warning("Unhandled the entity %s", ptr);
|
||||
warning("LEXER: Unhandled the entity %s", ptr);
|
||||
}
|
||||
YY_BREAK
|
||||
case 54:
|
||||
|
@ -206,11 +206,11 @@ whitespace [\t ]
|
||||
field = Common::String::format("%d%s", g_lingo->_theEntities[ptr]->entity, field.c_str());
|
||||
|
||||
if (!g_lingo->_theEntityFields.contains(field)) {
|
||||
error("Unhandled the field %s", ptr);
|
||||
error("LEXER: Unhandled the field %s", ptr);
|
||||
}
|
||||
|
||||
if (g_lingo->_theEntityFields[field]->entity != g_lingo->_theEntities[ptr]->entity)
|
||||
error("Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
error("LEXER: Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
|
||||
yylval.e[0] = g_lingo->_theEntities[ptr]->entity;
|
||||
yylval.e[1] = g_lingo->_theEntityFields[field]->field;
|
||||
@ -221,7 +221,7 @@ whitespace [\t ]
|
||||
return THEENTITY;
|
||||
}
|
||||
|
||||
warning("Unhandled the entity %s", ptr);
|
||||
warning("LEXER: Unhandled the entity %s", ptr);
|
||||
}
|
||||
(?i:the[ \t]+[[:alpha:]]+[ \t+](date|time)) {
|
||||
count();
|
||||
@ -240,11 +240,11 @@ whitespace [\t ]
|
||||
field = Common::String::format("%d%s", g_lingo->_theEntities[ptr]->entity, field.c_str());
|
||||
|
||||
if (!g_lingo->_theEntityFields.contains(field)) {
|
||||
error("Unhandled the field %s", ptr);
|
||||
error("LEXER: Unhandled the field %s", ptr);
|
||||
}
|
||||
|
||||
if (g_lingo->_theEntityFields[field]->entity != g_lingo->_theEntities[ptr]->entity)
|
||||
error("Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
error("LEXER: Unsupported field '%s' for entity '%s'", field.c_str(), ptr);
|
||||
|
||||
yylval.e[0] = g_lingo->_theEntities[ptr]->entity;
|
||||
yylval.e[1] = g_lingo->_theEntityFields[field]->field;
|
||||
@ -271,7 +271,7 @@ whitespace [\t ]
|
||||
return THEENTITY;
|
||||
}
|
||||
|
||||
warning("Unhandled the entity %s", ptr);
|
||||
warning("LEXER: Unhandled the entity %s", ptr);
|
||||
}
|
||||
(?i:then) { count(); return tTHEN; }
|
||||
(?i:to) { count(); return tTO; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user