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