From 2ad0c53f075b33cefe67afad8650490646632c1b Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 30 Jun 2007 23:16:12 +0000 Subject: [PATCH] Don't depend on -i and +i syntax in number parser. --- v7/src/runtime/numpar.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/numpar.scm b/v7/src/runtime/numpar.scm index 80665d7ca..56db85468 100644 --- a/v7/src/runtime/numpar.scm +++ b/v7/src/runtime/numpar.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: numpar.scm,v 14.22 2007/01/05 21:19:28 cph Exp $ +$Id: numpar.scm,v 14.23 2007/06/30 23:16:12 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -124,7 +124,7 @@ USA. (or exactness 'IMPLICIT-INEXACT) sign))) ((i? char) (and (fix:= start end) - (if (eq? #\- sign) -i +i))) + (make-rectangular 0 (if (eq? #\- sign) -1 1)))) (else #f))))) (define (parse-integer string start end integer exactness radix sign) -- 2.25.1