aboutsummaryrefslogtreecommitdiff
path: root/src/interp/preparse.lisp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2012-04-30 07:07:53 +0000
committerdos-reis <gdr@axiomatics.org>2012-04-30 07:07:53 +0000
commitef0788534700412ae77cd7ce4377f57599b11f01 (patch)
tree762b119e9e6520f64a1f7d5b99f0a556708c3876 /src/interp/preparse.lisp
parent59dfd29ba54016b24ff691969bdd03d1b8a7225d (diff)
downloadopen-axiom-ef0788534700412ae77cd7ce4377f57599b11f01.tar.gz
* interp/compiler.boot: Use float? in lieu of FLOATP.
* interp/fortcall.boot: Likewise. * interp/i-object.boot: Likewise. * interp/newfort.boot: Likewise. * interp/i-analy.boot: Compare to 0 in lieu of ZEROP. * interp/i-special.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/sfsfun.boot: Likewise. * interp/sys-driver.boot: Likewise. * interp/macros.lisp: Directly use 1+ instead of QADD1. * interp/preparse.lisp: Likewise. * interp/slam.boot: Likewise. * interp/sys-macros.lisp: Likewise. * interp/sys-constants.boot ($BasicPredicates): Remove as unused. * interp/vmlisp.lisp (ADD1): Remove. (QSADD1): Likewise. (QSSUB1): Likewise. (QSTIMES): Likewise.
Diffstat (limited to 'src/interp/preparse.lisp')
-rw-r--r--src/interp/preparse.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/preparse.lisp b/src/interp/preparse.lisp
index 94187b94..8741a490 100644
--- a/src/interp/preparse.lisp
+++ b/src/interp/preparse.lisp
@@ -1,6 +1,6 @@
;; Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
;; All rights reserved.
-;; Copyright (C) 2007-2010, Gabriel Dos Reis.
+;; Copyright (C) 2007-2012, Gabriel Dos Reis.
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
@@ -220,7 +220,7 @@
(format t "~%"))))
(DEFUN STOREBLANKS (LINE N)
- (DO ((I 0 (ADD1 I))) ((= I N) LINE) (SETF (CHAR LINE I) #\ )))
+ (DO ((I 0 (1+ I))) ((= I N) LINE) (SETF (CHAR LINE I) #\ )))
(DEFUN INITIAL-SUBSTRING (PATTERN LINE)
(let ((ind (mismatch PATTERN LINE)))