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