mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
make ComponentRepeat::vacuous_everywhere() more accurate
This commit is contained in:
parent
1f3cfdccef
commit
d9e2c3daca
@ -234,7 +234,7 @@ void ComponentRepeat::optimise(bool connected_to_sds) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool ComponentRepeat::vacuous_everywhere() const {
|
bool ComponentRepeat::vacuous_everywhere() const {
|
||||||
return !m_min;
|
return !m_min || sub_comp->vacuous_everywhere();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ComponentRepeat::checkEmbeddedStartAnchor(bool at_start) const {
|
bool ComponentRepeat::checkEmbeddedStartAnchor(bool at_start) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user