From 7375bc5b0bf5c270d8c97903f427c0b7bb392b5d Mon Sep 17 00:00:00 2001 From: Lee Date: Wed, 13 Sep 2023 22:02:54 +0800 Subject: [PATCH] Update comment for signed comparison operators --- src/ast.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ast.cpp b/src/ast.cpp index 72171273..804bff61 100644 --- a/src/ast.cpp +++ b/src/ast.cpp @@ -281,7 +281,7 @@ std::string DivExprNode::Op_() const { } std::string GreaterThanExprNode::OpName_() const { - // for signed greater + // signed return "sgt"; } @@ -290,7 +290,7 @@ std::string GreaterThanExprNode::Op_() const { } std::string GreaterThanOrEqualToExprNode::OpName_() const { - // for signed greater or equal + // signed return "sge"; } @@ -299,7 +299,7 @@ std::string GreaterThanOrEqualToExprNode::Op_() const { } std::string LessThanExprNode::OpName_() const { - // for signed less + // signed return "slt"; } @@ -308,7 +308,7 @@ std::string LessThanExprNode::Op_() const { } std::string LessThanOrEqualToExprNode::OpName_() const { - // for signed less or equal + // signed return "sle"; }