diff src/luan/interp/UpValue.java @ 49:8ede219cd111

add WebShell git-svn-id: https://luan-java.googlecode.com/svn/trunk@50 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 28 Dec 2012 19:35:04 +0000
parents 64ecb7a3aad7
children f86e4f77ef32
line wrap: on
line diff
--- a/src/luan/interp/UpValue.java	Fri Dec 28 03:29:12 2012 +0000
+++ b/src/luan/interp/UpValue.java	Fri Dec 28 19:35:04 2012 +0000
@@ -36,7 +36,7 @@
 	}
 
 	static interface Getter {
-		public UpValue get(LuanStateImpl lua);
+		public UpValue get(LuanStateImpl luan);
 	}
 
 	static final class StackGetter implements Getter {
@@ -46,8 +46,8 @@
 			this.index = index;
 		}
 
-		public UpValue get(LuanStateImpl lua) {
-			return lua.getUpValue(index);
+		public UpValue get(LuanStateImpl luan) {
+			return luan.getUpValue(index);
 		}
 	}
 
@@ -58,14 +58,14 @@
 			this.index = index;
 		}
 
-		public UpValue get(LuanStateImpl lua) {
-			return lua.closure().upValues[index];
+		public UpValue get(LuanStateImpl luan) {
+			return luan.closure().upValues[index];
 		}
 	}
 
 	static final Getter globalGetter = new Getter() {
-		public UpValue get(LuanStateImpl lua) {
-			return new UpValue(lua.global());
+		public UpValue get(LuanStateImpl luan) {
+			return new UpValue(luan.global());
 		}
 	};