comparison core/src/luan/impl/DivExpr.java @ 460:b48cfa14ba60

improve stack trace
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 06 May 2015 14:32:29 -0600
parents bbad2d06f728
children 859c0dedc8b6
comparison
equal deleted inserted replaced
459:30544d1a9cbf 460:b48cfa14ba60
1 package luan.impl; 1 package luan.impl;
2 2
3 import luan.LuanException; 3 import luan.LuanException;
4 import luan.LuanSource; 4 import luan.LuanElement;
5 5
6 6
7 final class DivExpr extends BinaryOpExpr { 7 final class DivExpr extends BinaryOpExpr {
8 8
9 DivExpr(LuanSource.Element se,Expr op1,Expr op2) { 9 DivExpr(LuanElement se,Expr op1,Expr op2) {
10 super(se,op1,op2); 10 super(se,op1,op2);
11 } 11 }
12 12
13 @Override public Object eval(LuanStateImpl luan) throws LuanException { 13 @Override public Object eval(LuanStateImpl luan) throws LuanException {
14 Object o1 = op1.eval(luan); 14 Object o1 = op1.eval(luan);