Mercurial Hosting > luan
diff core/src/luan/cmd_line.luan @ 260:f1f7d8c7e94e
add Io.protocols
git-svn-id: https://luan-java.googlecode.com/svn/trunk@261 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 28 Oct 2014 23:25:13 +0000 |
parents | 705d14f4d8ee |
children | 9e0d4452e649 |
line wrap: on
line diff
--- a/core/src/luan/cmd_line.luan Tue Oct 28 21:20:48 2014 +0000 +++ b/core/src/luan/cmd_line.luan Tue Oct 28 23:25:13 2014 +0000 @@ -67,7 +67,7 @@ _G.arg[j-i] = v end try - local main_file = load_file(file) + local main_file = load_file("file:"..file) main_file( Table.unpack(_G.arg) ) catch e do Io.print_to(Io.stderr, e )