Add command line option for file to test program.

This commit is contained in:
James Roseborough
2012-10-13 14:15:04 +00:00
parent 59496e6aa0
commit 3d2812ed35

View File

@@ -42,6 +42,8 @@ public class TestLuaJC {
static Globals _G; static Globals _G;
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
if (args.length > 0)
filename = args[0];
System.out.println("filename: "+filename); System.out.println("filename: "+filename);
try { try {