diff src/luan/interp/SetTableEntry.java @ 60:a68ccb7aaa9c

implement setting java field values git-svn-id: https://luan-java.googlecode.com/svn/trunk@61 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 07 Jan 2013 05:41:59 +0000
parents 8ede219cd111
children 6ca02b188dba
line wrap: on
line diff
--- a/src/luan/interp/SetTableEntry.java	Mon Jan 07 03:36:28 2013 +0000
+++ b/src/luan/interp/SetTableEntry.java	Mon Jan 07 05:41:59 2013 +0000
@@ -40,6 +40,7 @@
 		if( h instanceof LuanFunction ) {
 			LuanFunction fn = (LuanFunction)h;
 			luan.call(fn,se,"__newindex",t,key,value);
+			return;
 		}
 		newindex(luan,h,key,value);
 	}