From bae809c6abccc0f679240cbf409af8974b4e346e Mon Sep 17 00:00:00 2001 From: sperber Date: Sat, 7 Jul 2001 18:50:19 +0000 Subject: [PATCH] Correct types for MATCH:START, MATCH:END, and MATCH:SUBSTRING. --- scsh/rx/packages.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scsh/rx/packages.scm b/scsh/rx/packages.scm index 7612898..b993f71 100644 --- a/scsh/rx/packages.scm +++ b/scsh/rx/packages.scm @@ -164,9 +164,9 @@ (compound-interface posix-re-interface basic-re-interface (export (regexp-match? (proc (:value) :boolean)) - (match:start (proc (:value :exact-integer) :value)) - (match:end (proc (:value :exact-integer) :value)) - (match:substring (proc (:value :exact-integer) :value)) + (match:start (proc (:value &opt :exact-integer) :value)) + (match:end (proc (:value &opt :exact-integer) :value)) + (match:substring (proc (:value &opt :exact-integer) :value)) (clean-up-cres (proc () :unspecific)) (regexp-search (proc (:value :string &opt :exact-integer) :value))