nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename REAMDE to README.md
[nit.git]
/
src
/
pretty.nit
diff --git
a/src/pretty.nit
b/src/pretty.nit
index
b62d2d6
..
e4d848d
100644
(file)
--- a/
src/pretty.nit
+++ b/
src/pretty.nit
@@
-2044,16
+2044,9
@@
end
# Syntax
# Syntax
-redef class AUplusExpr
+redef class AUnaryopExpr
redef fun accept_pretty_printer(v) do
redef fun accept_pretty_printer(v) do
- v.consume "+"
- v.visit n_expr
- end
-end
-
-redef class AUminusExpr
- redef fun accept_pretty_printer(v) do
- v.consume "-"
+ v.visit n_op
v.visit n_expr
end
end
v.visit n_expr
end
end