aboutsummaryrefslogtreecommitdiff
path: root/src/lisp/core.lisp.in
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-02-20 17:24:05 +0000
committerdos-reis <gdr@axiomatics.org>2008-02-20 17:24:05 +0000
commit7ba4cd656138bedb567137ea662f26213bc2e898 (patch)
treedffa37ee129563ce966d52514ec6deb569794d9b /src/lisp/core.lisp.in
parent9fbb89443e0c88ee5e76d95a3eea2ac5ea9916b6 (diff)
downloadopen-axiom-7ba4cd656138bedb567137ea662f26213bc2e898.tar.gz
* lisp/core.lisp.in [SBCL]: Require "sb-posix".
(|resetErrorCount|): New export function. * interp/vmlisp.lisp (opOf): Remove macro definition. * interp/msg.boot (setMsgCatlessAttr): Fix thinko. * interp/monitor.lisp (monitor-add): Remove extra right parenthesis. * interp/lisplib.boot: Import "debug". (initializeLisplib): Don't use ERRORS variable. * interp/i-spec1.boot (isDomainValuedVariable): Tidy. * interp/i-output.boot (outputTran): Use SIZE instead of #. (output): Remove misguided conversion from Tuple to List. * interp/i-coerce.boot (coerceInteractive): Allow domain object convesions. * interp/g-util.boot (opOf): Declare. * interp/Makefile.pamphlet (lisplib.$(FASLEXT)): Depend on debug.$(FASLEXT). * algebra/Makefile.pamphlet: Use .$(FASLEXT) instead of hardcoded .o extension.
Diffstat (limited to 'src/lisp/core.lisp.in')
-rw-r--r--src/lisp/core.lisp.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in
index 53175aca..ab21a70c 100644
--- a/src/lisp/core.lisp.in
+++ b/src/lisp/core.lisp.in
@@ -1,9 +1,9 @@
;; Ô Emacs, this is a -*- Lisp -*- file, despite apperance
;;
-;; Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
+;; Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
;; All rights reserved.
;;
-;; Copyright (C) 2007, Gabriel Dos Reis.
+;; Copyright (C) 2007-2008, Gabriel Dos Reis.
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
@@ -18,7 +18,7 @@
;; the documentation and/or other materials provided with the
;; distribution.
;;
-;; - Neither the name of The Numerical ALgorithms Group Ltd. nor the
+;; - Neither the name of The Numerical Algorithms Group Ltd. nor the
;; names of its contributors may be used to endorse or promote products
;; derived from this software without specific prior written permission.
;;
@@ -59,6 +59,7 @@
"coreError"
"errorCount"
"countError"
+ "resetErrorCount"
"warn"
"%hasFeature"
@@ -331,6 +332,9 @@
(defun |countError| nil
(setq |$errorCount| (1+ |$errorCount|)))
+(defun |resetErrorCount| nil
+ (setq |$errorCount| 0))
+
(defun |fatalError| (msg)
(|countError|)
(|diagnosticMessage| "fatal error" msg)
@@ -756,7 +760,10 @@
(defun |%hasFeature| (f)
(member f *features* :test #'eq))
-;; -*- Lisp Implementatiom-dependen Supports -*-
+;; -*- Lisp Implementatiom-dependent Supports -*-
+
+#+ :sbcl
+(require "sb-posix")
#+ :sbcl
(defun shoe-provide-module(name)