aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-20 10:41:32 +0100
committerEugene Sandulenko2019-12-20 10:41:32 +0100
commitc5c8f3458bc6428640f4e8eefd12a25c9d44a55d (patch)
tree07a741243fec0fb54775084111f07d81ce2384dd /engines/director/lingo/lingo-lex.cpp
parentb21632c835a29a0813bae97a062401f7f96be8e8 (diff)
downloadscummvm-rg350-c5c8f3458bc6428640f4e8eefd12a25c9d44a55d.tar.gz
scummvm-rg350-c5c8f3458bc6428640f4e8eefd12a25c9d44a55d.tar.bz2
scummvm-rg350-c5c8f3458bc6428640f4e8eefd12a25c9d44a55d.zip
DIRECTOR: LINGO: Improved debug output
Diffstat (limited to 'engines/director/lingo/lingo-lex.cpp')
-rw-r--r--engines/director/lingo/lingo-lex.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index 03c329474f..336cfdd40c 100644
--- a/engines/director/lingo/lingo-lex.cpp
+++ b/engines/director/lingo/lingo-lex.cpp
@@ -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: