fix(kernel/formatter): remove unnecessary parenthesis
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
6f8f074f20
commit
6d30141a31
1 changed files with 0 additions and 2 deletions
|
@ -30,12 +30,10 @@ struct print_expr_fn {
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_macro(expr const & a, context const & c) {
|
void print_macro(expr const & a, context const & c) {
|
||||||
if (macro_num_args(a) > 0) out() << "(";
|
|
||||||
macro_def(a).display(out());
|
macro_def(a).display(out());
|
||||||
for (unsigned i = 0; i < macro_num_args(a); i++) {
|
for (unsigned i = 0; i < macro_num_args(a); i++) {
|
||||||
out() << " "; print_child(macro_arg(a, i), c);
|
out() << " "; print_child(macro_arg(a, i), c);
|
||||||
}
|
}
|
||||||
if (macro_num_args(a) > 0) out() << ")";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_sort(expr const & a) {
|
void print_sort(expr const & a) {
|
||||||
|
|
Loading…
Reference in a new issue