don't call process() if args aren't specified

This commit is contained in:
Dave Parfitt 2013-01-29 11:34:29 -05:00
parent 2bde37a8f6
commit ee0dc0542a
1 changed files with 3 additions and 1 deletions

View File

@ -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);