Allow calling const methods on readonly structs

This commit is contained in:
ZZYZX 2017-02-17 19:25:29 +02:00
commit 338e676e73
3 changed files with 27 additions and 23 deletions

View file

@ -219,7 +219,7 @@ struct FCompileContext
void HandleJumps(int token, FxExpression *handler);
void CheckReturn(PPrototype *proto, FScriptPosition &pos);
bool CheckReadOnly(int flags);
bool CheckWritable(int flags);
FxLocalVariableDeclaration *FindLocalVariable(FName name);
};