comparison src/luan/LuanClosure.java @ 1347:643cf1c37723

move webserver to lib and bug fixes
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Feb 2019 13:02:33 -0700
parents e0cf0d108a77
children 221eedb0f54e
comparison
equal deleted inserted replaced
1346:efd1c6380f2c 1347:643cf1c37723
25 Luan luan = luan(); 25 Luan luan = luan();
26 luan.push(this); 26 luan.push(this);
27 try { 27 try {
28 return doCall(luan,args); 28 return doCall(luan,args);
29 } catch(StackOverflowError e) { 29 } catch(StackOverflowError e) {
30 throw new LuanException( "stack overflow" ); 30 throw new LuanException( "stack overflow", e );
31 } finally { 31 } finally {
32 luan.pop(); 32 luan.pop();
33 } 33 }
34 } 34 }
35 35