comparison src/luan/interp/Block.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
comparison
equal deleted inserted replaced
48:64ecb7a3aad7 49:8ede219cd111
14 this.stmts = stmts; 14 this.stmts = stmts;
15 this.stackStart = stackStart; 15 this.stackStart = stackStart;
16 this.stackEnd = stackEnd; 16 this.stackEnd = stackEnd;
17 } 17 }
18 18
19 @Override public void eval(LuanStateImpl lua) throws LuanException { 19 @Override public void eval(LuanStateImpl luan) throws LuanException {
20 try { 20 try {
21 for( Stmt stmt : stmts ) { 21 for( Stmt stmt : stmts ) {
22 stmt.eval(lua); 22 stmt.eval(luan);
23 } 23 }
24 } finally { 24 } finally {
25 lua.stackClear(stackStart,stackEnd); 25 luan.stackClear(stackStart,stackEnd);
26 } 26 }
27 } 27 }
28 28
29 } 29 }