summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-09-27 19:34:49 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-09-27 19:34:49 -0700
commitc9de9a30bd682bd3d36f87e47f4b1dd9d5854dd9 (patch)
treefaea785e5bfd8b48df6e07bd2888ed8b13bcd8f1 /ChangeLog
parent0a6161f1d4c617582cab236042eea6a628e81bd3 (diff)
downloadtxr-c9de9a30bd682bd3d36f87e47f4b1dd9d5854dd9.tar.gz
txr-c9de9a30bd682bd3d36f87e47f4b1dd9d5854dd9.tar.bz2
txr-c9de9a30bd682bd3d36f87e47f4b1dd9d5854dd9.zip
* match.c (match_files): One more fix to this, argh.
The test for !data should be done after matching, before incrementing to the next line. Then it is a true bottom of the loop test. This commit allows @(skip) @first_line @(skip nil 3) @(eof) to correctly match the first line of the input, not the fourth one from the bottom, since the second skip has an unbounded range.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84ca8d90..25868383 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
2011-09-27 Kaz Kylheku <kaz@kylheku.com>
+ * match.c (match_files): One more fix to this, argh.
+ The test for !data should be done after matching,
+ before incrementing to the next line. Then it is a true
+ bottom of the loop test. This commit allows
+ @(skip)
+ @first_line
+ @(skip nil 3)
+ @(eof)
+ to correctly match the first line of the input, not
+ the fourth one from the bottom, since the
+ second skip has an unbounded range.
+
+2011-09-27 Kaz Kylheku <kaz@kylheku.com>
+
* match.c (match_files): Another bugfix to skip.
If a hard skip tries to go beyond EOF, then the query
must fail. However, a skip to exactly EOF is fine.