Changeset 4844


Ignore:
Timestamp:
11/19/03 17:34:00 (18 years ago)
Author:
piso
Message:

Don't call ext.declareSpecial() if var is globally special.

File:
1 edited

Legend:

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

    r4842 r4844  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: dolist.java,v 1.3 2003-11-19 17:27:20 piso Exp $
     5 * $Id: dolist.java,v 1.4 2003-11-19 17:34:00 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    8282                binding = thread.getDynamicEnvironment().getBinding(var);
    8383                ext.declareSpecial(var);
     84            } else if (var.isSpecialVariable()) {
     85                thread.bindSpecial(var, null);
     86                binding = thread.getDynamicEnvironment().getBinding(var);
    8487            } else {
    8588                ext.bind(var, null);
Note: See TracChangeset for help on using the changeset viewer.