From 6973d36261d8030c4836a8e25a0e95c19476978e Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 5 Dec 2013 18:54:47 +0100 Subject: Rien. --- src/Makefile | 2 ++ tests/exec/bst.cpp | 2 +- tests/exec/passing.cpp | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 4f15695..30526f5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,3 +10,5 @@ main.byte: main.ml ast.ml parser.mly lexer.mll pretty.ml clean: rm -r _build + rm main.byte + rm $(BIN) diff --git a/tests/exec/bst.cpp b/tests/exec/bst.cpp index e5ccce8..528d6a0 100644 --- a/tests/exec/bst.cpp +++ b/tests/exec/bst.cpp @@ -74,7 +74,7 @@ void BST::add2(int x) { void BST::print() { tree_print(this->root); - std::cout << std::endl; + std::cout << "\n"; } diff --git a/tests/exec/passing.cpp b/tests/exec/passing.cpp index 6354fa5..3a2fbf2 100644 --- a/tests/exec/passing.cpp +++ b/tests/exec/passing.cpp @@ -6,8 +6,8 @@ void incr(int &y) { int main() { int x = 5; - std::cout << "x = " << x << std::endl; + std::cout << "x = " << x << "\n"; incr(x); - std::cout << "x = " << x << std::endl; + std::cout << "x = " << x << "\n"; } -- cgit v1.2.3