comparison core/src/luan/LuanState.java @ 172:4edbf3204ca6

add build.sh and dist git-svn-id: https://luan-java.googlecode.com/svn/trunk@173 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Sun, 22 Jun 2014 06:12:29 +0000
parents 3dcb0f9bee82
children 58c6ca5d4524
comparison
equal deleted inserted replaced
171:3dcb0f9bee82 172:4edbf3204ca6
61 final List<StackTraceElement> stackTrace = new ArrayList<StackTraceElement>(); 61 final List<StackTraceElement> stackTrace = new ArrayList<StackTraceElement>();
62 62
63 protected LuanState() { 63 protected LuanState() {
64 global = new LuanTable(); 64 global = new LuanTable();
65 global.put("_G",global); 65 global.put("_G",global);
66 global.put( "_VERSION", Luan.version );
67 loaded = new LuanTable(); 66 loaded = new LuanTable();
68 preload = new LuanTable(); 67 preload = new LuanTable();
69 searchers = new LuanTable(); 68 searchers = new LuanTable();
70 mtGetters = new ArrayList<MetatableGetter>(); 69 mtGetters = new ArrayList<MetatableGetter>();
71 } 70 }