comparison core/src/luan/impl/LuanCompiler.java @ 578:60c549d43988

remove LuanState.exception()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 14 Jul 2015 17:40:48 -0600
parents 92c3d22745b8
children 859c0dedc8b6
comparison
equal deleted inserted replaced
577:d7a85fbe15f1 578:60c549d43988
31 return fnDef; 31 return fnDef;
32 } 32 }
33 return parser.RequiredModule(); 33 return parser.RequiredModule();
34 } catch(ParseException e) { 34 } catch(ParseException e) {
35 //e.printStackTrace(); 35 //e.printStackTrace();
36 throw luan.exception( e.getFancyMessage() ); 36 throw new LuanException(luan, e.getFancyMessage() );
37 } 37 }
38 } 38 }
39 39
40 public static LuanState newLuanState() { 40 public static LuanState newLuanState() {
41 return new LuanStateImpl(); 41 return new LuanStateImpl();