Mercurial Hosting > luan
comparison src/luan/CmdLine.java @ 19:a7c13c6017f7
add GenericForStmt
git-svn-id: https://luan-java.googlecode.com/svn/trunk@20 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 02 Dec 2012 10:08:24 +0000 |
parents | 9cea1aea5eef |
children | c93d8c781853 |
comparison
equal
deleted
inserted
replaced
18:3971113699b8 | 19:a7c13c6017f7 |
---|---|
28 String file = args[i++]; | 28 String file = args[i++]; |
29 try { | 29 try { |
30 LuaFunction fn = BasicLib.loadFile(file); | 30 LuaFunction fn = BasicLib.loadFile(file); |
31 fn.call(lua); | 31 fn.call(lua); |
32 } catch(LuaException e) { | 32 } catch(LuaException e) { |
33 System.out.println(e.getMessage()); | 33 // System.out.println(e.getMessage()); |
34 e.printStackTrace(); | |
34 return; | 35 return; |
35 } | 36 } |
36 } | 37 } |
37 if( interactive ) | 38 if( interactive ) |
38 interactive(lua); | 39 interactive(lua); |