From: Chris Hanson Date: Tue, 31 Jan 2006 17:43:37 +0000 (+0000) Subject: No longer need to pre-process default arguments. X-Git-Tag: 20090517-FFI~1117 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c5c0ecc1dac7b5b32724d99053f00555c328c5b9;p=mit-scheme.git No longer need to pre-process default arguments. --- diff --git a/v7/src/runtime/parser-buffer.scm b/v7/src/runtime/parser-buffer.scm index 10fd069db..7bd1da869 100644 --- a/v7/src/runtime/parser-buffer.scm +++ b/v7/src/runtime/parser-buffer.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: parser-buffer.scm,v 1.14 2004/02/24 20:34:50 cph Exp $ +$Id: parser-buffer.scm,v 1.15 2006/01/31 17:43:37 cph Exp $ -Copyright 2001,2002,2003,2004 Massachusetts Institute of Technology +Copyright 2001,2002,2003,2004,2006 Massachusetts Institute of Technology This file is part of MIT/GNU Scheme. @@ -54,10 +54,7 @@ USA. (define (string->parser-buffer string #!optional start end) (if (string? string) - (let ((string - (string->wide-string string - (if (default-object? start) #f start) - (if (default-object? end) #f end)))) + (let ((string (string->wide-string string start end))) (make-parser-buffer string 0 (%wide-string-length string) 0 0 #f #t 0)) (begin (guarantee-wide-string string 'STRING->PARSER-BUFFER)