Index: src/prettyprinter.cc |
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc |
index 37110e27b3484b909b037874f7534e10b5a9bc3b..c9de739357101efeb5988967eeda0125ce474f53 100644 |
--- a/src/prettyprinter.cc |
+++ b/src/prettyprinter.cc |
@@ -907,7 +907,7 @@ const char* PrettyPrinter::PrintProgram(FunctionLiteral* program) { |
void PrettyPrinter::PrintOut(Isolate* isolate, Zone* zone, AstNode* node) { |
PrettyPrinter printer(isolate, zone); |
- PrintF("%s", printer.Print(node)); |
+ PrintF("%s\n", printer.Print(node)); |
} |