(property_change_between_p): Test NULL_INTERVAL_P
in loop, before looking at next->position.
This commit is contained in:
parent
5843fef346
commit
e050ef745e
1 changed files with 2 additions and 0 deletions
|
@ -568,6 +568,8 @@ property_change_between_p (beg, end)
|
|||
while (! NULL_INTERVAL_P (next) && intervals_equal (i, next))
|
||||
{
|
||||
next = next_interval (next);
|
||||
if (NULL_INTERVAL_P (next))
|
||||
return 0;
|
||||
if (next->position >= end)
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue