- try to preserve a bit more information about incorrect use of user variables to print more meaningful error messages. This is not complete yet and will need integration with the previous commit.
This commit is contained in:
parent
ac0413838c
commit
f238f0ba5c
11 changed files with 94 additions and 5 deletions
|
|
@ -79,6 +79,7 @@ struct FCompileContext
|
|||
int StateIndex; // index in actor's state table for anonymous functions, otherwise -1 (not used by DECORATE which pre-resolves state indices)
|
||||
int StateCount; // amount of states an anoymous function is being used on (must be 1 for state indices to be allowed.)
|
||||
int Lump;
|
||||
bool Unsafe = false;
|
||||
TDeletingArray<FxLocalVariableDeclaration *> FunctionArgs;
|
||||
|
||||
FCompileContext(PFunction *func, PPrototype *ret, bool fromdecorate, int stateindex, int statecount, int lump);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue