Add command line option for file to test program.
This commit is contained in:
@@ -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 {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user