summaryrefslogtreecommitdiff
path: root/libguile/regex-posix.c
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@lilypond.org>2006-01-01 19:46:24 +0000
committerHan-Wen Nienhuys <hanwen@lilypond.org>2006-01-01 19:46:24 +0000
commitc255614e268247b1f336f0cba3150764119bcf01 (patch)
tree91165a4273b08b6ce8d029b5adb78dba7f0a6ff5 /libguile/regex-posix.c
parente299cee2a08e4ee5949d9ffb54d1069db0a2133a (diff)
downloadguile-c255614e268247b1f336f0cba3150764119bcf01.tar.gz
*** empty log message ***
Diffstat (limited to 'libguile/regex-posix.c')
-rw-r--r--libguile/regex-posix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/regex-posix.c b/libguile/regex-posix.c
index 2e8dcd547..31f8c1d28 100644
--- a/libguile/regex-posix.c
+++ b/libguile/regex-posix.c
@@ -187,7 +187,8 @@ SCM_DEFINE (scm_make_regexp, "make-regexp", 1, 0, 1,
scm_from_locale_string (FUNC_NAME),
errmsg,
SCM_BOOL_F,
- SCM_BOOL_F);
+ scm_list_1 (pat));
+
/* never returns */
}
SCM_RETURN_NEWSMOB (scm_tc16_regex, rx);
@@ -274,8 +275,7 @@ SCM_DEFINE (scm_regexp_exec, "regexp-exec", 2, 2, 0,
scm_error_scm (scm_regexp_error_key,
scm_from_locale_string (FUNC_NAME),
scm_regexp_error_msg (status, SCM_RGX (rx)),
- SCM_BOOL_F,
- SCM_BOOL_F);
+ SCM_BOOL_F, SCM_BOOL_F);
return mvec;
}
#undef FUNC_NAME