- Fixed: The TEXTURES parser didn't report an error for invalid keywords.

- Fixed: The DECORATE expression evaluator was too strict with missing jump labels.
  For compatibility it only may print a warning, not an error.


SVN r1284 (trunk)
This commit is contained in:
Christoph Oelckers 2008-11-08 08:29:51 +00:00
commit e56fef0a8e
3 changed files with 15 additions and 2 deletions

View file

@ -2634,8 +2634,12 @@ FxExpression *FxMultiNameState::Resolve(FCompileContext &ctx)
if (destination == NULL)
{
ScriptPosition.Message(ctx.lax? MSG_WARNING:MSG_ERROR, "Unknown state jump destination");
delete this;
return NULL;
if (!ctx.lax)
{
delete this;
return NULL;
}
return this;
}
FxExpression *x = new FxConstant(destination, ScriptPosition);
delete this;