Mercurial Hosting > luan
diff core/src/luan/impl/WhileStmt.java @ 576:4723d22062ce
remove LuanBit
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 13 Jul 2015 20:38:26 -0600 |
parents | b48cfa14ba60 |
children | 859c0dedc8b6 |
line wrap: on
line diff
--- a/core/src/luan/impl/WhileStmt.java Mon Jul 13 18:34:31 2015 -0600 +++ b/core/src/luan/impl/WhileStmt.java Mon Jul 13 20:38:26 2015 -0600 @@ -17,7 +17,7 @@ @Override public void eval(LuanStateImpl luan) throws LuanException { try { - while( luan.bit(el).checkBoolean( cnd.eval(luan) ) ) { + while( luan.checkBoolean( cnd.eval(luan), el ) ) { doStmt.eval(luan); } } catch(BreakException e) {}