Mercurial Hosting > luan
comparison core/src/luan/LuanState.java @ 258:4dfa86dbca45
rename "java:" to "classpath:"
git-svn-id: https://luan-java.googlecode.com/svn/trunk@259 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 28 Oct 2014 20:38:04 +0000 |
parents | 05eb2837ddbf |
children | 2ce23c7e2342 |
comparison
equal
deleted
inserted
replaced
257:c5c60eca33dd | 258:4dfa86dbca45 |
---|---|
58 } | 58 } |
59 | 59 |
60 public static LuanState newStandard() { | 60 public static LuanState newStandard() { |
61 try { | 61 try { |
62 LuanState luan = LuanCompiler.newLuanState(); | 62 LuanState luan = LuanCompiler.newLuanState(); |
63 BasicLuan.do_file(luan,"java:luan/init.luan"); | 63 BasicLuan.do_file(luan,"classpath:luan/init.luan"); |
64 return luan; | 64 return luan; |
65 } catch(LuanException e) { | 65 } catch(LuanException e) { |
66 throw new RuntimeException(e); | 66 throw new RuntimeException(e); |
67 } | 67 } |
68 } | 68 } |