summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-12 01:18:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-12 01:18:54 -0800
commitfb08292e908f1af8b93f26ba57c16d97cd3e08ca (patch)
tree26017f5b41fb2658b32ee311b2f919e9b35a3592
parent0870c87df3f22f68240df5b2b47d1753d3d8387c (diff)
downloadtxr-fb08292e908f1af8b93f26ba57c16d97cd3e08ca.tar.gz
txr-fb08292e908f1af8b93f26ba57c16d97cd3e08ca.tar.bz2
txr-fb08292e908f1af8b93f26ba57c16d97cd3e08ca.zip
Task #11486
* match.c (h_coll): Call consume_prefix in the loop.
-rw-r--r--ChangeLog6
-rw-r--r--match.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c0dad7e..ef4c7e99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-02-12 Kaz Kylheku <kaz@kylheku.com>
+ Task #11486
+
+ * match.c (h_coll): Call consume_prefix in the loop.
+
+2012-02-12 Kaz Kylheku <kaz@kylheku.com>
+
Task #11486: continuation. Take into account base position
in debug reporting.
diff --git a/match.c b/match.c
index d99b1173..66eac4b1 100644
--- a/match.c
+++ b/match.c
@@ -821,6 +821,8 @@ next_coll:
if (length_str_le(c->dataline, c->pos))
break;
}
+
+ consume_prefix(c);
}
if ((times || mintimes) && timescounter < ctimin) {