X-Git-Url: http://nitlanguage.org diff --git a/src/astprinter.nit b/src/astprinter.nit index 219b61a..61a1083 100644 --- a/src/astprinter.nit +++ b/src/astprinter.nit @@ -47,15 +47,6 @@ private class ASTPrinterVisitor do if last_current != current_node then last_current = current_node - var l = current_node._location - if l != null then - eol - out.add(s) - out.add("\t# {l.colored_line("0;32").split_with('\n').first}") - has_eol = false - eol - return - end end out.add(s) has_eol = false @@ -106,6 +97,13 @@ redef class AIntExpr end end +redef class AByteExpr + redef fun accept_printer(v) + do + v.write(value.to_s) + end +end + redef class ANewExpr redef fun accept_printer(v) do