From 6986063fcf282098db2af5f919bede9ec1de484f Mon Sep 17 00:00:00 2001 From: gabe Date: Sun, 24 Apr 2022 20:04:32 -0300 Subject: [PATCH] remove comments --- README.md | 2 ++ headers/implicitConversion.hpp | 3 +-- src/implicitConversion.cpp | 7 ------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3dd75c0..8f475ba 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ - Functions - Vector initialization - Vectors +- Compoused assignment Operators +- Unary Operators - Initialization of variables ✔️ - Error detection ✔️ diff --git a/headers/implicitConversion.hpp b/headers/implicitConversion.hpp index ea62960..25ca1e3 100644 --- a/headers/implicitConversion.hpp +++ b/headers/implicitConversion.hpp @@ -1,8 +1,7 @@ #ifndef IMPLICITCONVERSION_H #define IMPLICITCONVERSION_H -#include -#include + #include "../headers/struct.hpp" diff --git a/src/implicitConversion.cpp b/src/implicitConversion.cpp index e35ffd6..8171760 100644 --- a/src/implicitConversion.cpp +++ b/src/implicitConversion.cpp @@ -4,8 +4,6 @@ #include "../headers/coercion.hpp" #include "../headers/scope.hpp" #include "../headers/struct.hpp" -#include -#include using namespace std; @@ -14,11 +12,6 @@ using namespace std; Attribute resolveAssignmentType(Attribute left, string operador, Attribute right) { Symbol leftSimbol = getSymbolAnywere(left.label); - - cout << "Assignment:\n" << endl; - cout <<"//left.type: " << leftSimbol.type << " operador: " << operador << " right.type: " << right.type<< endl; - - Coercion coercion = getCoercion(leftSimbol.type, operador, right.type); Attribute actual = createActualAttribute(coercion.returnedType);