summaryrefslogtreecommitdiff
path: root/vala/valaattributeprocessor.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valaattributeprocessor.vala')
-rw-r--r--vala/valaattributeprocessor.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/vala/valaattributeprocessor.vala b/vala/valaattributeprocessor.vala
index e78b5e321..525ff2855 100644
--- a/vala/valaattributeprocessor.vala
+++ b/vala/valaattributeprocessor.vala
@@ -42,6 +42,10 @@ public class Vala.AttributeProcessor : CodeVisitor {
public override void visit_namespace (Namespace! ns) {
ns.process_attributes ();
+
+ foreach (Namespace ns in ns.get_namespaces ()) {
+ ns.accept (this);
+ }
}
public override void visit_class (Class! cl) {
@@ -66,10 +70,6 @@ public class Vala.AttributeProcessor : CodeVisitor {
en.process_attributes ();
}
- public override void visit_flags (Flags! fl) {
- fl.process_attributes ();
- }
-
public override void visit_method (Method! m) {
m.process_attributes ();
}