Changeset 8771


Ignore:
Timestamp:
03/14/05 17:54:24 (16 years ago)
Author:
piso
Message:

Work in progress.

Location:
trunk/j/src/org/armedbear
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/LispTagger.java

    r6471 r8771  
    22 * LispTagger.java
    33 *
    4  * Copyright (C) 1998-2004 Peter Graves
    5  * $Id: LispTagger.java,v 1.15 2004-04-11 18:34:51 piso Exp $
     4 * Copyright (C) 1998-2005 Peter Graves
     5 * $Id: LispTagger.java,v 1.16 2005-03-14 17:54:24 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    8585                    if (definer != null) {
    8686                        if (definer.equals("defun")) {
    87                             Position tokenStart = pos.copy();
    88                             String name = gatherList(pos);
    89                             addTag(name, tokenStart, definer);
     87                            String s = gatherToken(pos.copy());
     88                            if (s.toLowerCase().equals("setf")) {
     89                                Position tokenStart = pos.copy();
     90                                String name = gatherList(pos);
     91                                addTag(name, tokenStart, definer);
     92                            }
    9093                            state = NEUTRAL;
    9194                            definer = null;
  • trunk/j/src/org/armedbear/lisp/precompiler.lisp

    r8668 r8771  
    22;;;
    33;;; Copyright (C) 2003-2005 Peter Graves
    4 ;;; $Id: precompiler.lisp,v 1.89 2005-02-28 19:06:16 piso Exp $
     4;;; $Id: precompiler.lisp,v 1.90 2005-03-14 17:52:12 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    846846;; Redefine DEFMACRO to precompile the expansion function on the fly.
    847847(defmacro defmacro (name lambda-list &rest body)
    848   (let* ((form (gensym))
    849          (env (gensym))
     848  (let* ((form (gensym "WHOLE-"))
     849         (env (gensym "ENVIRONMENT-"))
    850850         (body (parse-defmacro lambda-list form body name 'defmacro
    851851                               :environment env))
Note: See TracChangeset for help on using the changeset viewer.