forked from jasder/antlr
don't call process() if args aren't specified
This commit is contained in:
parent
2bde37a8f6
commit
ee0dc0542a
|
@ -139,7 +139,9 @@ public class TestRig {
|
|||
|
||||
public static void main(String[] args) throws Exception {
|
||||
TestRig testRig = new TestRig(args);
|
||||
testRig.process();
|
||||
if(args.length >= 2) {
|
||||
testRig.process();
|
||||
}
|
||||
}
|
||||
|
||||
public void process() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue