mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Improved static indexer support
This commit is contained in:
parent
5096e65fc7
commit
b5064536e0
4 changed files with 27 additions and 12 deletions
|
@ -833,6 +833,7 @@ BfModule::BfModule(BfContext* context, const StringImpl& moduleName)
|
|||
mHadBuildError = false;
|
||||
mHadBuildWarning = false;
|
||||
mIgnoreErrors = false;
|
||||
mHadIgnoredError = false;
|
||||
mIgnoreWarnings = false;
|
||||
mReportErrors = true;
|
||||
mIsInsideAutoComplete = false;
|
||||
|
@ -2672,7 +2673,8 @@ BfError* BfModule::Fail(const StringImpl& error, BfAstNode* refNode, bool isPers
|
|||
BP_ZONE("BfModule::Fail");
|
||||
|
||||
if (mIgnoreErrors)
|
||||
{
|
||||
{
|
||||
mHadIgnoredError = true;
|
||||
if (mAttributeState != NULL)
|
||||
mAttributeState->mFlags = (BfAttributeState::Flags)(mAttributeState->mFlags | BfAttributeState::Flag_HadError);
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue