- 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:
parent
f1ae8119ab
commit
e56fef0a8e
3 changed files with 15 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue