src: new annotation old_style_init
authorJean Privat <jean@pryen.org>
Wed, 20 Aug 2014 00:36:41 +0000 (20:36 -0400)
committerJean Privat <jean@pryen.org>
Wed, 20 Aug 2014 08:47:04 +0000 (04:47 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/pep8analysis/src/parser/parser_nodes.nit
lib/standard/queue.nit
src/check_annotation.nit
src/parser/parser_nodes.nit

index f84afe5..e1fb641 100644 (file)
@@ -1,6 +1,6 @@
 # Raw AST node hierarchy.
 # This file was generated by SableCC (http://www.sablecc.org/).
-module parser_nodes
+module parser_nodes is old_style_init
 
 import location
 
index bd4dcf1..c4cce96 100644 (file)
@@ -320,5 +320,5 @@ end
 # ~~~
 class MinHeapCmp[E: Comparable]
        super MinHeap[E]
-       init do super(new DefaultComparator[E])
+       init is old_style_init do super(new DefaultComparator[E])
 end
index e374876..f91dc55 100644 (file)
@@ -82,6 +82,7 @@ readonly
 writable
 cached
 nosuper
+old_style_init
 
 pkgconfig
 c_compiler_option
index 8a6bf20..5190abd 100644 (file)
@@ -14,7 +14,7 @@
 
 # AST nodes of the Nit language
 # Was previously based on parser_abs.nit.
-module parser_nodes
+module parser_nodes is old_style_init
 
 import location