Skip to content

Commit ee583c2

Browse files
committed
remove log
1 parent 3601e70 commit ee583c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/parser/parser.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,6 @@ std::unique_ptr<Expr> Parser::parseMemberExpr() {
629629
// pipe operator
630630
else {
631631
if (peek().tag != Token::TypeTag::SHORT_NOTATION) {
632-
std::cout << peek().plainText << std::endl;
633632
throw std::invalid_argument("Expected Short Notation following pipe operator.");
634633
}
635634
property = parsePrimaryExpr();
@@ -752,7 +751,6 @@ std::unique_ptr<Expr> Parser::parsePrimaryExpr() {
752751
}
753752
} else if (token.tag == Token::TypeTag::SHORT_NOTATION) {
754753
token.value = shortEnumToString.at(advance().type.shortNotationToken);
755-
std::cout << "Short Notation: " << token.plainText << std::endl;
756754
return std::make_unique<Identifier>(Identifier{token});
757755
}
758756
throw std::logic_error("Unexpected token \"" + token.plainText + "\" found in primary expression.");

0 commit comments

Comments
 (0)