comparison src/luan/LuanBit.java @ 123:d7be9b3abf1a

minor - rename LuanFunction.EMPTY to NOTHING git-svn-id: https://luan-java.googlecode.com/svn/trunk@124 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 06 Jun 2014 01:14:18 +0000
parents f5af13062b10
children 0594c132888b
comparison
equal deleted inserted replaced
122:d00f41edbbd6 123:d7be9b3abf1a
15 public LuanException exception(Object msg) { 15 public LuanException exception(Object msg) {
16 return new LuanException(this,msg); 16 return new LuanException(this,msg);
17 } 17 }
18 18
19 public Object call(LuanFunction fn,String fnName) throws LuanException { 19 public Object call(LuanFunction fn,String fnName) throws LuanException {
20 return call(fn,fnName,LuanFunction.EMPTY); 20 return call(fn,fnName,LuanFunction.NOTHING);
21 } 21 }
22 22
23 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException { 23 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException {
24 List<StackTraceElement> stackTrace = luan.stackTrace; 24 List<StackTraceElement> stackTrace = luan.stackTrace;
25 stackTrace.add( new StackTraceElement(el,fnName) ); 25 stackTrace.add( new StackTraceElement(el,fnName) );