1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Improved static indexer support

This commit is contained in:
Brian Fiete 2020-12-05 04:29:27 -08:00
parent 5096e65fc7
commit b5064536e0
4 changed files with 27 additions and 12 deletions

View file

@ -67,7 +67,8 @@ enum BfEvalExprFlags
BfEvalExprFlags_VariableDeclaration = 0x4000,
BfEvalExprFlags_NoAutoComplete = 0x8000,
BfEvalExprFlags_AllowNonConst = 0x10000,
BfEvalExprFlags_StringInterpolateFormat = 0x20000
BfEvalExprFlags_StringInterpolateFormat = 0x20000,
BfEvalExprFlags_NoLookupError = 0x40000,
};
enum BfCastFlags
@ -994,6 +995,7 @@ public:
bool mAllowUinitReads;
bool mCancelledDeferredCall;
bool mNoObjectAccessChecks;
bool mHadIgnoredError;
int mCurLocalVarId; // Can also refer to a label
int mCurAccessId; // For checking to see if a block reads from or writes to a local
@ -1031,7 +1033,7 @@ public:
mAllowUinitReads = false;
mCancelledDeferredCall = false;
mNoObjectAccessChecks = false;
mInDeferredBlock = false;
mInDeferredBlock = false;
mDeferredLocalAssignData = NULL;
mCurLocalVarId = 0;
mCurAccessId = 1;
@ -1445,7 +1447,8 @@ public:
bool mWroteToLib;
bool mHadBuildError;
bool mHadBuildWarning;
bool mIgnoreErrors;
bool mIgnoreErrors;
bool mHadIgnoredError;
bool mIgnoreWarnings;
bool mSetIllegalSrcPosition;
bool mReportErrors; // Still puts system in error state when set to false