nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e1c0f
)
nitc: globally skip annotation nodes
author
Jean Privat
<jean@pryen.org>
Tue, 16 Jul 2013 19:51:34 +0000
(15:51 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 25 Jul 2013 17:33:16 +0000
(13:33 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/abstracttool.nit
patch
|
blob
|
history
diff --git
a/src/abstracttool.nit
b/src/abstracttool.nit
index
dc3187e
..
d76a3f8
100644
(file)
--- a/
src/abstracttool.nit
+++ b/
src/abstracttool.nit
@@
-129,3
+129,11
@@
redef class MMLocalClass
file.write("end # {self}\n")
end
end
+
+redef class AAnnotations
+ # Shortcut annotations and skip them completely
+ redef fun visit_all(v)
+ do
+ # Do notning
+ end
+end