slight formatting changes
This commit is contained in:
@ -32,6 +32,7 @@ public final class StupsCompiler {
|
|||||||
|
|
||||||
private static void compile(String filename) {
|
private static void compile(String filename) {
|
||||||
System.out.println("Beginning compilation.");
|
System.out.println("Beginning compilation.");
|
||||||
|
final long begin = System.nanoTime();
|
||||||
|
|
||||||
Lexer lexer;
|
Lexer lexer;
|
||||||
try {
|
try {
|
||||||
@ -67,7 +68,8 @@ public final class StupsCompiler {
|
|||||||
tree.postprocess(grammar);
|
tree.postprocess(grammar);
|
||||||
TypeChecker.validate(tree);
|
TypeChecker.validate(tree);
|
||||||
|
|
||||||
System.out.println("\nCompilation completed.");
|
final long end = System.nanoTime();
|
||||||
|
System.out.printf("%nCompilation completed in %dms.%n", (end - begin) / 1_000_000);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void liveness(String filename) {
|
private static void liveness(String filename) {
|
||||||
|
Reference in New Issue
Block a user