diff src/luan/interp/Block.java @ 11:b7d7069fee58

add assignment statement and CmdLine git-svn-id: https://luan-java.googlecode.com/svn/trunk@12 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 22 Nov 2012 10:51:56 +0000
parents 24fd6381caca
children 09d41f7490a8
line wrap: on
line diff
--- a/src/luan/interp/Block.java	Thu Nov 22 04:37:10 2012 +0000
+++ b/src/luan/interp/Block.java	Thu Nov 22 10:51:56 2012 +0000
@@ -4,14 +4,14 @@
 import luan.LuaException;
 
 
-final class Block extends Stmt {
+final class Block implements Stmt {
 	private final Stmt[] stmts;
 
 	Block(Stmt[] stmts) {
 		this.stmts = stmts;
 	}
 
-	@Override void eval(LuaState lua) throws LuaException {
+	@Override public void eval(LuaState lua) throws LuaException {
 		for( Stmt stmt : stmts ) {
 			stmt.eval(lua);
 		}