Changeset 3501


Ignore:
Timestamp:
08/25/03 12:32:28 (19 years ago)
Author:
piso
Message:

DEFMACRO: return NAME.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/compiler.lisp

    r3500 r3501  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: compiler.lisp,v 1.33 2003-08-24 19:28:01 piso Exp $
     4;;; $Id: compiler.lisp,v 1.34 2003-08-25 12:32:28 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    248248                               :environment env))
    249249         (expander `(lambda (,form ,env) (block ,name ,body))))
    250     `(if (special-operator-p ',name)
     250    `(progn
     251       (if (special-operator-p ',name)
    251252         (%put ',name 'macroexpand-macro (sys::make-macro (compile nil ,expander)))
    252          (fset ',name (sys::make-macro (compile nil ,expander))))))
     253         (fset ',name (sys::make-macro (compile nil ,expander))))
     254       ',name)))
    253255
    254256;; Make an exception just this one time...
Note: See TracChangeset for help on using the changeset viewer.