summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2013-06-03 01:41:05 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2013-06-03 01:41:05 +0000
commitdb0183e381a0ad4c0ce5ed4dce1f25acd8b27782 (patch)
treee3a79cc6e4fb0fb0566538cddc81a1950b2a402b /gnu
parent13026fbfd99219db371f259055808a25c5a7a874 (diff)
fix anchor quick with nested anchors. we lost the quick flag as soon as
we stepped into a child anchor. simplify the logic, get rid of the match flag in the anchor stack, just use the match variable we already had (and used in a boolean style) to track the nest level we had a match at. when a child anchor had a match we also have a match in the current anchor, so update the match level accordingly, and thus correctly honour the quick flag. reported by, along with the right idea on how to fix this, by Sean Gallagher \sean at teletech.com.au/, who also helped testing the fix. ok ryan & benno
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions