解析错误容量限制
This commit is contained in:
parent
a29515f72e
commit
881cfb8198
|
@ -350,7 +350,7 @@ void lib_syntax::MatchCursor::logExprsError(std::shared_ptr<const lib_words::IPr
|
||||||
this->_exprs_errors.last()->addError(t, msg);
|
this->_exprs_errors.last()->addError(t, msg);
|
||||||
|
|
||||||
// 普适性质的判定标准
|
// 普适性质的判定标准
|
||||||
this->setFailure(this->exprsErrorCount() > 1);
|
this->setFailure(this->exprsErrorCount() > 1 || this->_total_errors.size() > 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MatchCursor::quitExprs() {
|
void MatchCursor::quitExprs() {
|
||||||
|
|
Loading…
Reference in New Issue