diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-26 21:00:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-26 21:00:32 -0700 |
commit | 9a8c8d552e2b0841dc10d492522072b3b296b149 (patch) | |
tree | 0bade4e19b5ed13104c290ccb8ac20d7fb7369b9 | |
parent | 6e997a72646772a6b7fecdaf0bf1f2d2eb578496 (diff) | |
download | txr-9a8c8d552e2b0841dc10d492522072b3b296b149.tar.gz txr-9a8c8d552e2b0841dc10d492522072b3b296b149.tar.bz2 txr-9a8c8d552e2b0841dc10d492522072b3b296b149.zip |
Don't bother with numeq comparison in tok_where.
* lib.c (tok_where): Just compare match_end == match_start.
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4060,7 +4060,7 @@ val tok_where(val str, val tok_regex) pos = match_end; - if (numeq(match_end, match_start)) + if (match_end == match_start) pos = plus(pos, one); continue; } |