diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2009-11-17 Kaz Kylheku <kkylheku@gmail.com> + * lib.c (chrp): Fix broken is_chr(num) call. + +2009-11-17 Kaz Kylheku <kkylheku@gmail.com> + * regex.c (nfa_all_states, nfa_closure): visited parameter should be unsigned. @@ -1006,7 +1006,7 @@ obj_t *chr(wchar_t ch) obj_t *chrp(obj_t *chr) { - return (is_chr(num)) ? t : nil; + return (is_chr(chr)) ? t : nil; } wchar_t c_chr(obj_t *chr) |