Skip to content

Commit

Permalink
DIRECTOR: Lingo: Do not error out on unknown entities
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 3, 2016
1 parent 5414a0e commit d9cf5af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions engines/director/lingo/lingo-lex.cpp
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions engines/director/lingo/lingo-lex.l
Expand Up @@ -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();
Expand All @@ -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; }
Expand Down

0 comments on commit d9cf5af

Please sign in to comment.