Mercurial Hosting > luan
diff src/luan/interp/SetStmt.java @ 31:5cf15507d77e
separate interpreter from interface
git-svn-id: https://luan-java.googlecode.com/svn/trunk@32 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 13 Dec 2012 02:50:04 +0000 |
parents | c93d8c781853 |
children | 64ecb7a3aad7 |
line wrap: on
line diff
--- a/src/luan/interp/SetStmt.java Fri Dec 07 20:22:19 2012 +0000 +++ b/src/luan/interp/SetStmt.java Thu Dec 13 02:50:04 2012 +0000 @@ -1,7 +1,6 @@ package luan.interp; import luan.Lua; -import luan.LuaState; import luan.LuaException; @@ -18,7 +17,7 @@ this.expressions = expressions; } - @Override public void eval(LuaState lua) throws LuaException { + @Override public void eval(LuaStateImpl lua) throws LuaException { final Object[] vals = expressions.eval(lua); for( int i=0; i<vars.length; i++ ) { Object val = i < vals.length ? vals[i] : null;