aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.l
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-02 22:31:27 +0300
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commitd9cf5af9f0c66a582ca9efba744df8fc34310c67 (patch)
treef329368c9cf7b20a3b94fb4987bb052a07a72d7b /engines/director/lingo/lingo-lex.l
parent5414a0ec2cfbdc1572501af5de8e055a06bd6b31 (diff)
downloadscummvm-rg350-d9cf5af9f0c66a582ca9efba744df8fc34310c67.tar.gz
scummvm-rg350-d9cf5af9f0c66a582ca9efba744df8fc34310c67.tar.bz2
scummvm-rg350-d9cf5af9f0c66a582ca9efba744df8fc34310c67.zip
DIRECTOR: Lingo: Do not error out on unknown entities
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r--engines/director/lingo/lingo-lex.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index 9532da4fcb..50ad8fa61a 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -131,7 +131,7 @@ whitespace [\t ]
return THEENTITY;
}
- error("Unhandled the entity %s", ptr);
+ warning("Unhandled the entity %s", ptr);
}
(?i:the[ \t]+[[:alpha:]]+) {
count();
@@ -150,7 +150,7 @@ whitespace [\t ]
return THEENTITY;
}
- error("Unhandled the entity %s", ptr);
+ warning("Unhandled the entity %s", ptr);
}
(?i:then) { count(); return tTHEN; }
(?i:to) { count(); return tTO; }