diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-09-27 19:34:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-09-27 19:34:49 -0700 |
commit | c9de9a30bd682bd3d36f87e47f4b1dd9d5854dd9 (patch) | |
tree | faea785e5bfd8b48df6e07bd2888ed8b13bcd8f1 /ChangeLog | |
parent | 0a6161f1d4c617582cab236042eea6a628e81bd3 (diff) | |
download | txr-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-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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. |