Changeset 2284
- Timestamp:
- 06/11/03 01:01:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/Primitives.java
r2232 r2284 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Primitives.java,v 1.23 2 2003-06-10 01:12:14piso Exp $5 * $Id: Primitives.java,v 1.233 2003-06-11 01:01:29 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 3337 3337 new SpecialOperator("function") { 3338 3338 public LispObject execute(LispObject args, Environment env) 3339 throws LispError3339 throws Condition 3340 3340 { 3341 3341 LispObject arg = args.car(); 3342 3342 if (arg instanceof Symbol) { 3343 3343 LispObject functional = env.lookupFunctional(arg); 3344 if (functional instanceof Autoload) { 3345 Autoload autoload = (Autoload) functional; 3346 Load._load(autoload.getFileName(), true, false); 3347 functional = autoload.getSymbol().getSymbolFunction(); 3348 } 3344 3349 if (functional instanceof Function) 3345 3350 return functional;
Note: See TracChangeset
for help on using the changeset viewer.