Mercurial Hosting > luan
comparison core/src/luan/cmd_line.luan @ 421:b31d614343e8
add Io.LuanString.text_writer();
improve java related errors;
fix to_string;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 May 2015 15:13:14 -0600 |
parents | dc21bd260690 |
children | 2e79b47d02a2 |
comparison
equal
deleted
inserted
replaced
420:e9d4d5854e54 | 421:b31d614343e8 |
---|---|
77 function() | 77 function() |
78 local main_file = load_file(file..".luan") | 78 local main_file = load_file(file..".luan") |
79 main_file( Table.unpack(Luan.arg) ) | 79 main_file( Table.unpack(Luan.arg) ) |
80 end; | 80 end; |
81 catch = function(e) | 81 catch = function(e) |
82 -- java(); e.printStackTrace(); return | |
82 Io.print_to(Io.stderr, e ) | 83 Io.print_to(Io.stderr, e ) |
83 end; | 84 end; |
84 } | 85 } |
85 end | 86 end |
86 if interactive then | 87 if interactive then |