summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-05 18:54:47 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-05 18:54:47 +0100
commit6973d36261d8030c4836a8e25a0e95c19476978e (patch)
treef23e1ae9dd065050b91fa25f32127c23276a8261
parentbfb562d7c734f76811314773ea248d9f781a2510 (diff)
downloadLPC-Projet-6973d36261d8030c4836a8e25a0e95c19476978e.tar.gz
LPC-Projet-6973d36261d8030c4836a8e25a0e95c19476978e.zip
Rien.
-rw-r--r--src/Makefile2
-rw-r--r--tests/exec/bst.cpp2
-rw-r--r--tests/exec/passing.cpp4
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";
}