Mercurial Hosting > luan
changeset 192:f2c6c22cddc0
minor
git-svn-id: https://luan-java.googlecode.com/svn/trunk@193 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 01 Jul 2014 07:06:29 +0000 |
parents | 2456ef7ada02 |
children | 66ed8886abc0 |
files | core/src/luan/impl/LeExpr.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 2456ef7ada02 -r f2c6c22cddc0 core/src/luan/impl/LeExpr.java --- a/core/src/luan/impl/LeExpr.java Tue Jul 01 06:40:48 2014 +0000 +++ b/core/src/luan/impl/LeExpr.java Tue Jul 01 07:06:29 2014 +0000 @@ -14,6 +14,10 @@ } @Override public Object eval(LuanStateImpl luan) throws LuanException { + return le(luan); + } + + private boolean le(LuanStateImpl luan) throws LuanException { Object o1 = op1.eval(luan); Object o2 = op2.eval(luan); if( o1 instanceof Number && o2 instanceof Number ) {