Changeset 4060


Ignore:
Timestamp:
09/25/03 18:22:11 (20 years ago)
Author:
piso
Message:

run(): call TPL::TOP-LEVEL-LOOP if it's fbound.

File:
1 edited

Legend:

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

    r4051 r4060  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Interpreter.java,v 1.38 2003-09-25 15:37:08 piso Exp $
     5 * $Id: Interpreter.java,v 1.39 2003-09-25 18:22:11 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    116116            out.writeString(banner());
    117117            initialize(jlisp);
     118            Symbol TOP_LEVEL_LOOP = intern("TOP-LEVEL-LOOP", PACKAGE_TPL);
     119            LispObject replFun = TOP_LEVEL_LOOP.getSymbolFunction();
     120            if (replFun instanceof Function) {
     121                replFun.execute();
     122                return;
     123            }
    118124            while (true) {
    119125                try {
Note: See TracChangeset for help on using the changeset viewer.