Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

View File

@ -27,6 +27,6 @@ public class StatementGeneratorTest
DecafLexer lexer = new DecafLexer(input);
CommonTokenStream tokens = new CommonTokenStream(lexer);
DecafParser parser = new DecafParser(tokens);
return parser.stmt().accept(new StatementGenerator());
return new StatementGenerator().visit(parser.stmt());
}
}