comparison src/luan/LuanException.java @ 1563:8fbcc4747091

remove LuanFunction.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 09 Nov 2020 01:37:57 -0700
parents b89212fd04b5
children adba594db0b4
comparison
equal deleted inserted replaced
1562:b89212fd04b5 1563:8fbcc4747091
50 50
51 public LuanTable table(Luan luan) { 51 public LuanTable table(Luan luan) {
52 if( table==null ) { 52 if( table==null ) {
53 try { 53 try {
54 LuanTable Boot = (LuanTable)luan.require("luan:Boot.luan"); 54 LuanTable Boot = (LuanTable)luan.require("luan:Boot.luan");
55 table = (LuanTable)Boot.fn(luan,"new_error_table").call(this ); 55 table = (LuanTable)Boot.fn("new_error_table").call(luan,this );
56 for( Object stupid : extra.entrySet() ) { 56 for( Object stupid : extra.entrySet() ) {
57 Map.Entry entry = (Map.Entry)stupid; 57 Map.Entry entry = (Map.Entry)stupid;
58 table.put( luan, entry.getKey(), entry.getValue() ); 58 table.put( luan, entry.getKey(), entry.getValue() );
59 } 59 }
60 } catch(LuanException e) { 60 } catch(LuanException e) {