Mercurial Hosting > luan
comparison src/luan/LuanBit.java @ 130:0594c132888b
cleanup
git-svn-id: https://luan-java.googlecode.com/svn/trunk@131 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 10 Jun 2014 02:43:40 +0000 |
parents | d7be9b3abf1a |
children | 14281d5bd36f |
comparison
equal
deleted
inserted
replaced
129:486a0641bca4 | 130:0594c132888b |
---|---|
12 this.el = el; | 12 this.el = el; |
13 } | 13 } |
14 | 14 |
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 } | |
18 | |
19 public Object call(LuanFunction fn,String fnName) throws LuanException { | |
20 return call(fn,fnName,LuanFunction.NOTHING); | |
21 } | 17 } |
22 | 18 |
23 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException { | 19 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException { |
24 List<StackTraceElement> stackTrace = luan.stackTrace; | 20 List<StackTraceElement> stackTrace = luan.stackTrace; |
25 stackTrace.add( new StackTraceElement(el,fnName) ); | 21 stackTrace.add( new StackTraceElement(el,fnName) ); |