Skip to content
Snippets Groups Projects
Commit 840a93f0 authored by Régis Blanc's avatar Régis Blanc
Browse files

still more readable pretty printing

parent c190c389
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,7 @@ object PrettyPrinter { ...@@ -82,6 +82,7 @@ object PrettyPrinter {
sb.append("\n") sb.append("\n")
pp(fd, sb, lvl) pp(fd, sb, lvl)
sb.append("\n") sb.append("\n")
sb.append("\n")
ind(sb, lvl) ind(sb, lvl)
pp(e, sb, lvl) pp(e, sb, lvl)
sb sb
...@@ -105,7 +106,7 @@ object PrettyPrinter { ...@@ -105,7 +106,7 @@ object PrettyPrinter {
sb.append("\n") sb.append("\n")
}) })
ind(sb, lvl) ind(sb, lvl)
sb.append("}") sb.append("}\n")
sb sb
} }
case Assignment(lhs, rhs) => ppBinary(sb, lhs.toVariable, rhs, " = ", lvl) case Assignment(lhs, rhs) => ppBinary(sb, lhs.toVariable, rhs, " = ", lvl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment