Changeset 5885


Ignore:
Timestamp:
02/21/04 13:57:44 (17 years ago)
Author:
piso
Message:

PRECOMPILE-MACROLET

File:
1 edited

Legend:

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

    r5868 r5885  
    22;;;
    33;;; Copyright (C) 2003-2004 Peter Graves
    4 ;;; $Id: precompiler.lisp,v 1.27 2004-02-18 15:33:16 piso Exp $
     4;;; $Id: precompiler.lisp,v 1.28 2004-02-21 13:57:44 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    249249        (macros (cadr form))
    250250        (body (cddr form))
    251         (res ())
    252251        compiled-body)
    253252    (dolist (macro macros)
     
    256255            (forms (cddr macro)))
    257256        (push (define-local-macro name lambda-list forms) *local-macros*)
    258         (push name *local-macros*)
    259         (push (list* name lambda-list (mapcar #'precompile1 forms)) res)))
    260     (setf compiled-body (mapcar #'precompile1 body))
    261     (setf res (list* 'PROGN compiled-body))
    262     res))
     257        (push name *local-macros*)))
     258    (list* 'PROGN (mapcar #'precompile1 body))))
    263259
    264260(defun precompile-symbol-macrolet (form)
Note: See TracChangeset for help on using the changeset viewer.