Skip to content
Snippets Groups Projects
Commit 8f66b4af authored by dgelessus's avatar dgelessus
Browse files

Print conflicts only once

parent 3b00daed
Branches
Tags
No related merge requests found
......@@ -252,21 +252,10 @@ public class SableCC {
System.out.println("Generating utility classes.");
tree.apply(new GenUtils(ast_ids));
try {
System.out.println("Generating the lexer.");
tree.apply(new GenLexer(ids));
} catch (RuntimeException e) {
System.out.println(e.getMessage());
throw e;
}
try {
System.out.println("Generating the parser.");
tree.apply(new GenParser(ids, alt_ids, transform_ids, ast_ids
.getFirstAstProduction(), processInlining, prettyPrinting));
} catch (RuntimeException e) {
System.out.println(e.getMessage());
throw e;
}
tree.apply(new GenParser(ids, alt_ids, transform_ids, ast_ids.getFirstAstProduction(), processInlining, prettyPrinting));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment