1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed enum result classify issue

This commit is contained in:
Brian Fiete 2022-01-06 11:56:12 -05:00
parent 4b1d7047d1
commit 6a158db9da
4 changed files with 11 additions and 5 deletions

View file

@ -5312,6 +5312,13 @@ bool BfCompiler::IsDataResolvePass()
return (mResolvePassData != NULL) && (mResolvePassData->mResolveType == BfResolveType_GetResultString);
}
bool BfCompiler::WantsClassifyNode(BfAstNode* node)
{
return ((mResolvePassData != NULL) &&
(node->IsFromParser(mResolvePassData->mParser)) &&
(mResolvePassData->mSourceClassifier != NULL));
}
BfAutoComplete* BfCompiler::GetAutoComplete()
{
if (mResolvePassData != NULL)