Format unary plus correctly
This commit is contained in:
parent
4a0257c771
commit
ba21718f71
@ -111,6 +111,9 @@ namespace AST {
|
|||||||
case types::Unary::Negation:
|
case types::Unary::Negation:
|
||||||
out << "-" << this->m_expr->formatted();
|
out << "-" << this->m_expr->formatted();
|
||||||
break;
|
break;
|
||||||
|
case types::Unary::Plus:
|
||||||
|
out << "+" << this->m_expr->formatted();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user