diff options
author | Eugene Sandulenko | 2016-08-02 22:31:27 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | d9cf5af9f0c66a582ca9efba744df8fc34310c67 (patch) | |
tree | f329368c9cf7b20a3b94fb4987bb052a07a72d7b /engines | |
parent | 5414a0ec2cfbdc1572501af5de8e055a06bd6b31 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/director/lingo/lingo-lex.cpp | 4 | ||||
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp index f4e3541dfa..a7f672d363 100644 --- a/engines/director/lingo/lingo-lex.cpp +++ b/engines/director/lingo/lingo-lex.cpp @@ -1149,7 +1149,7 @@ YY_RULE_SETUP return THEENTITY; } - error("Unhandled the entity %s", ptr); + warning("Unhandled the entity %s", ptr); } YY_BREAK case 35: @@ -1172,7 +1172,7 @@ YY_RULE_SETUP return THEENTITY; } - error("Unhandled the entity %s", ptr); + warning("Unhandled the entity %s", ptr); } YY_BREAK case 36: 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; } |