diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-29 21:21:27 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-29 21:21:27 -0800 |
commit | 90665e91cee93000f5bf228d4600d0139552839f (patch) | |
tree | 5d21a03df0342444eccee0def063b858ae60d28d | |
parent | ff17df5e47559aa87ffd828c6126a63165805ad2 (diff) | |
download | txr-90665e91cee93000f5bf228d4600d0139552839f.tar.gz txr-90665e91cee93000f5bf228d4600d0139552839f.tar.bz2 txr-90665e91cee93000f5bf228d4600d0139552839f.zip |
* regex.c (match_regex_right): Fix not returning value.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regex.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2014-01-29 Kaz Kylheku <kaz@kylheku.com> + * regex.c (match_regex_right): Fix not returning value. + +2014-01-29 Kaz Kylheku <kaz@kylheku.com> + Default argument initializer scoping rule change, allowing things like (defun foo (s : (l (length s))) ...). Default arguments can be initialized by expressions that @@ -1873,6 +1873,8 @@ val match_regex_right(val str, val regex, val end) pos = plus(pos, one); } + + return nil; } val regsub(val regex, val repl, val str) |