Skip to content
Snippets Groups Projects
Commit 8d70a5ed authored by Peter Matta's avatar Peter Matta
Browse files

Updated printing

parent 279b32df
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ public:
}
Printer.printStmtPost(S);
return false;
return true;
}
 
bool visit(WhileStmt *S) {
......@@ -219,7 +219,7 @@ public:
super::visit(S->getBody());
Printer.printStmtPost(S);
return false;
return true;
}
};
 
......@@ -282,13 +282,6 @@ public:
--(*this);
*this << tok::r_brace;
break;
case StmtKind::For:
case StmtKind::Func:
case StmtKind::If:
case StmtKind::While:
if (!isAtStartOfLine())
printNewline();
return;
default: return;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment