From 992e3ca99dc73b3dbbdf7a9bfda471df29add006 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 26 Oct 2016 21:00:32 -0700 Subject: Don't bother with numeq comparison in tok_where. * lib.c (tok_where): Just compare match_end == match_start. --- lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.c') diff --git a/lib.c b/lib.c index fb50af57..ab07ed10 100644 --- a/lib.c +++ b/lib.c @@ -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; } -- cgit v1.2.3