mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Allow catch-all '#pragma warning disable'
This commit is contained in:
parent
d367213c31
commit
f10f389400
2 changed files with 22 additions and 11 deletions
|
@ -1762,7 +1762,7 @@ BfError* BfPassInstance::WarnAt(int warningNumber, const StringImpl& warning, Bf
|
|||
return NULL;
|
||||
|
||||
auto bfParser = bfSource->ToParserData();
|
||||
if ((bfParser != NULL) && (warningNumber > 0) && (!bfParser->IsWarningEnabledAtSrcIndex(warningNumber, srcIdx)))
|
||||
if ((bfParser != NULL) && (!bfParser->IsWarningEnabledAtSrcIndex(warningNumber, srcIdx)))
|
||||
return NULL;
|
||||
|
||||
if (!WantsRangeRecorded(bfParser, srcIdx, srcLen, true, isDeferred))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue