Subject: | get_tag_at |
get_tag_at($pos, $name) sometimes returns undef when there is a tag with the name at the position with a defined value. I have added a test (rather arbitrarily in t/01plain.t) that shows the effect.
The loop control statements
next if $pos < $ts;
last if $pos >= $te;
in get_tag_at are different from the corresponding ones in other get_* methods. With the attached patch they are all the same and the problem goes away.
Cheers, Anno
Subject: | patch |
Message body not shown because it is not plain text.