diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2013-06-03 01:41:05 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2013-06-03 01:41:05 +0000 |
commit | db0183e381a0ad4c0ce5ed4dce1f25acd8b27782 (patch) | |
tree | e3a79cc6e4fb0fb0566538cddc81a1950b2a402b /gnu | |
parent | 13026fbfd99219db371f259055808a25c5a7a874 (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