summaryrefslogtreecommitdiff
path: root/vala/valanamespace.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-11-07 09:49:07 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-11-07 09:49:07 +0000
commita81a3482c8d1f449c1bbeb9c7038c9b19e5698e7 (patch)
treee0086e84b5115831ee614663de78d7ffa2cf9fca /vala/valanamespace.vala
parent06e32e1d81513d4657015070b809bf7cc496e6ac (diff)
downloadvala-a81a3482c8d1f449c1bbeb9c7038c9b19e5698e7.tar.gz
Move type symbol checking to code nodes
2008-11-07 Jürg Billeter <j@bitron.ch> * vala/valadelegate.vala: * vala/valaenum.vala: * vala/valaenumvalue.vala: * vala/valaerrorcode.vala: * vala/valaerrordomain.vala: * vala/valainterface.vala: * vala/valanamespace.vala: * vala/valasemanticanalyzer.vala: * vala/valastruct.vala: Move type symbol checking to code nodes svn path=/trunk/; revision=1999
Diffstat (limited to 'vala/valanamespace.vala')
-rw-r--r--vala/valanamespace.vala12
1 files changed, 12 insertions, 0 deletions
diff --git a/vala/valanamespace.vala b/vala/valanamespace.vala
index e83793567..d84b9dff8 100644
--- a/vala/valanamespace.vala
+++ b/vala/valanamespace.vala
@@ -515,4 +515,16 @@ public class Vala.Namespace : Symbol {
}
}
}
+
+ public override bool check (SemanticAnalyzer analyzer) {
+ if (checked) {
+ return !error;
+ }
+
+ checked = true;
+
+ process_attributes ();
+
+ return !error;
+ }
}