nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/model: fix mdoc_or_fallback for MClasses and MProperties
[nit.git]
/
src
/
astprinter.nit
diff --git
a/src/astprinter.nit
b/src/astprinter.nit
index
219b61a
..
91aee2f
100644
(file)
--- 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
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
end
out.add(s)
has_eol = false
@@
-99,7
+90,7
@@
redef class ABlockExpr
end
end
end
end
-redef class AIntExpr
+redef class AIntegerExpr
redef fun accept_printer(v)
do
v.write(value.to_s)
redef fun accept_printer(v)
do
v.write(value.to_s)