Mercurial Hosting > luan
diff src/luan/tools/CmdLine.java @ 39:e5bcb1eeafc1
change naming convention
git-svn-id: https://luan-java.googlecode.com/svn/trunk@40 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 20 Dec 2012 02:54:06 +0000 |
parents | 30fcb4fb0f76 |
children | e3624b7cd603 |
line wrap: on
line diff
--- a/src/luan/tools/CmdLine.java Thu Dec 20 02:43:37 2012 +0000 +++ b/src/luan/tools/CmdLine.java Thu Dec 20 02:54:06 2012 +0000 @@ -47,7 +47,7 @@ } } else if( arg.equals("-") ) { try { - BasicLib.dofile(lua,null); + BasicLib.do_file(lua,null); } catch(LuaException e) { System.err.println(e.getMessage()); System.exit(-1); @@ -71,7 +71,7 @@ } lua.global().put("arg",argsTable); try { - LuaFunction fn = BasicLib.loadfile(lua,file); + LuaFunction fn = BasicLib.load_file(lua,file); fn.call(lua,varArgs); } catch(LuaException e) { // System.err.println(e.getMessage());