aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/lingo/lingo-lex.cpp12
-rw-r--r--engines/director/lingo/lingo-lex.l12
2 files changed, 12 insertions, 12 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:
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index 33829b699b..30b3908b06 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -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; }