Mercurial Hosting > luan
comparison core/src/luan/cmd_line.luan @ 555:e25ba7a2e816
some String documentation and fixes
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 19 Jun 2015 04:29:06 -0600 |
parents | 18504c41b0be |
children | ca169567ce07 |
comparison
equal
deleted
inserted
replaced
554:18504c41b0be | 555:e25ba7a2e816 |
---|---|
22 function() | 22 function() |
23 local main_file = load_file(file,true) | 23 local main_file = load_file(file,true) |
24 print( main_file( Table.unpack(Luan.arg) ) ) | 24 print( main_file( Table.unpack(Luan.arg) ) ) |
25 end; | 25 end; |
26 catch = function(e) | 26 catch = function(e) |
27 -- java(); e.java.printStackTrace(); return | 27 -- java(); e.java.printStackTrace(); |
28 Io.print_to(Io.stderr, e ) | 28 Io.print_to(Io.stderr, e ) |
29 end; | 29 end; |
30 } | 30 } |
31 end | 31 end |