Changeset 292


Ignore:
Timestamp:
Jan 13, 2004, 5:12:43 PM (21 years ago)
Author:
Gary Byers
Message:

Allow NIL to be a -local- function name. Don't tail-call SIGNAL-PROGRAM-ERROR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/nx0.lisp

    r258 r292  
    8282(defvar *nx1-compiler-special-forms* nil "Real special forms")
    8383
    84 (defvar *nx-never-tail-call* '(error cerror break warn type-error file-error
    85                                #-bccl %get-frame-pointer
    86                                #-bccl break-loop)
    87  "List of functions which never return multiple values and
     84(defparameter *nx-never-tail-call*
     85  '(error cerror break warn type-error file-error
     86    signal-program-error signal-simple-program-error
     87    #-bccl %get-frame-pointer
     88    #-bccl break-loop)
     89  "List of functions which never return multiple values and
    8890   should never be tail-called.")
    8991
     
    16561658      (multiple-value-bind (lambda-form containing-env token) (nx-inline-expansion sym *nx-lexical-environment* global-only)
    16571659        (or (nx1-expand-inline-call lambda-form containing-env token args spread-p)
    1658             (multiple-value-bind (info afunc) (if (and sym (symbolp sym) (not global-only)) (nx-lexical-finfo sym))
     1660            (multiple-value-bind (info afunc) (if (and (symbolp sym) (not global-only)) (nx-lexical-finfo sym))
    16591661              (when (eq 'macro (car info))
    16601662                (nx-error "Can't call macro function ~s" sym))
Note: See TracChangeset for help on using the changeset viewer.