diff --git a/lab3-4/ast.cc b/lab3-4/ast.cc index d156936eb9088e241e58cb63331dce15d9ecb6cf..d62488c940bbec8a886c99bfed45340dc2ea77cf 100644 --- a/lab3-4/ast.cc +++ b/lab3-4/ast.cc @@ -241,7 +241,7 @@ void BinaryOperation::xprint(ostream& o, const char *cls) endChild(o); } -void Plus::print(ostream& o) { xprint(o, "Plus"); } // +void Plus::print(ostream& o) { xprint(o, "Plus"); } // void Minus::print(ostream& o) { xprint(o, "Minus"); } void Times::print(ostream& o) { xprint(o, "Times"); } void Divide::print(ostream& o) {xprint(o, "Divide"); } @@ -328,7 +328,7 @@ void BinaryCondition::xprint(ostream& o, const char *cls) } void And::print(ostream& o) { xprint(o, "And"); } -void Or::print(ostream& o) { xprint(o, "Or"); } // +void Or::print(ostream& o) { xprint(o, "Or"); } // void Not::print(ostream& o) {