Commit 6d6769c7 authored by Filipe Gonçalves's avatar Filipe Gonçalves

Removed deprecated TODO from ast.cpp. getReverseOpName() is totally fine.

parent 7335455e
...@@ -157,7 +157,6 @@ std::string getReverseOpName(int op_type) { ...@@ -157,7 +157,6 @@ std::string getReverseOpName(int op_type) {
return getOpName(AST_TYPE::LtE); return getOpName(AST_TYPE::LtE);
if (op_type == AST_TYPE::GtE) if (op_type == AST_TYPE::GtE)
return getOpName(AST_TYPE::Lt); return getOpName(AST_TYPE::Lt);
// TODO Check that this is really correct.
if (op_type == AST_TYPE::NotEq) if (op_type == AST_TYPE::NotEq)
return getOpName(AST_TYPE::NotEq); return getOpName(AST_TYPE::NotEq);
if (op_type == AST_TYPE::Eq) if (op_type == AST_TYPE::Eq)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment