Changeset 11769


Ignore:
Timestamp:
04/20/09 08:31:34 (14 years ago)
Author:
ehuelsmann
Message:

Rename variables to be more in line with the env/ext pattern used elsewhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/SpecialOperators.java

    r11768 r11769  
    331331    final LispThread thread = LispThread.currentThread();
    332332    final SpecialBinding lastSpecialBinding = thread.lastSpecialBinding;
    333     final Environment ext = new Environment(env);
     333    final Environment funEnv = new Environment(env);
    334334    while (defs != NIL)
    335335      {
     
    374374        Closure closure =
    375375          new Closure(lambda_name, lambda_expression,
    376                       recursive ? ext : env);
    377         ext.addFunctionBinding(name, closure);
     376                      recursive ? funEnv : env);
     377        funEnv.addFunctionBinding(name, closure);
    378378        defs = defs.cdr();
    379379      }
    380380    try
    381381      {
    382         final Environment innerEnv = new Environment(ext);
     382        final Environment ext = new Environment(funEnv);
    383383        LispObject body = args.cdr();
    384         body = innerEnv.processDeclarations(body);
    385         return progn(body, innerEnv, thread);
     384        body = ext.processDeclarations(body);
     385        return progn(body, ext, thread);
    386386      }
    387387    finally
Note: See TracChangeset for help on using the changeset viewer.