Skip to content

Commit

Permalink
Don't print the syntax tree with toString
Browse files Browse the repository at this point in the history
  • Loading branch information
romildo committed Oct 19, 2016
1 parent 61d1d01 commit 114f686
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/main/Driver.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ public static void syntaxAnalysis(String name, Reader input) throws Exception {
final Lexer lexer = new Lexer(input);
final parser parser = new parser(lexer);
final Symbol result = parser.parse();
System.out.println("===Parsed value:===========");
System.out.println(result.value);
System.out.println();
if (result.value instanceof AST) {
final AST parseTree = (AST) result.value;
System.out.println("===Abstract syntax tree:===========");
Expand Down

0 comments on commit 114f686

Please sign in to comment.