Merge: doc: fixed some typos and other misc. corrections
[nit.git] / src / astprinter.nit
index 219b61a..91aee2f 100644 (file)
@@ -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
@@ -99,7 +90,7 @@ redef class ABlockExpr
        end
 end
 
-redef class AIntExpr
+redef class AIntegerExpr
        redef fun accept_printer(v)
        do
                v.write(value.to_s)