diff --git a/src/ast.cpp b/src/ast.cpp index e73945cb..de6aae5d 100644 --- a/src/ast.cpp +++ b/src/ast.cpp @@ -280,7 +280,9 @@ std::string DivExprNode::Op_() const { return "/"; } -std::string ModExprNode::OpName_() const {} +std::string ModExprNode::OpName_() const { + return "rem"; +} std::string ModExprNode::Op_() const { return "%";