Changeset 14002 for trunk/abcl/src/org/armedbear/lisp/scripting
- Timestamp:
- 07/12/12 09:25:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/scripting/AbclScriptEngine.java
r13101 r14002 137 137 138 138 public static boolean isCompiled(String filespec) { 139 if (filespec.endsWith(".abcl")) { 139 final String compiledExt = "." + Lisp._COMPILE_FILE_TYPE_.symbolValue().getStringValue(); 140 if (filespec.endsWith(compiledExt)) { 140 141 return true; 141 142 } … … 145 146 source = new File(filespec); 146 147 compiled = new File(filespec.substring(0, filespec.length() - 5) 147 + ".abcl");148 + compiledExt); 148 149 } else { 149 150 source = new File(filespec + ".lisp"); 150 compiled = new File(filespec + ".abcl");151 compiled = new File(filespec + compiledExt); 151 152 } 152 153 if (!source.exists()) {
Note: See TracChangeset
for help on using the changeset viewer.