Mercurial Hosting > luan
diff src/luan/interp/UpValue.java @ 108:3c404a296995
make Package module more standard;
return _ENV by default;
add "import" statement;
git-svn-id: https://luan-java.googlecode.com/svn/trunk@109 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 23 May 2014 03:21:54 +0000 |
parents | 6db8f286fa6c |
children | f99fd64291b3 |
line wrap: on
line diff
--- a/src/luan/interp/UpValue.java Mon May 19 09:17:57 2014 +0000 +++ b/src/luan/interp/UpValue.java Fri May 23 03:21:54 2014 +0000 @@ -102,4 +102,10 @@ } } + static final Getter globalGetter = new Getter() { + public UpValue get(LuanStateImpl luan) { + return new UpValue(luan.global()); + } + }; + }