summaryrefslogtreecommitdiff
path: root/vala/valatypeofexpression.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-08-07 16:50:40 +0200
committerJürg Billeter <j@bitron.ch>2010-08-10 09:02:53 +0200
commit8b57dfaf55208cad985cb6ff023aed0c3841d876 (patch)
tree9fce3b9ba6d9b9b6d7adb6b853656273ba908908 /vala/valatypeofexpression.vala
parent92cb97f4f806fb6362834bf218e8021453c22f07 (diff)
downloadvala-8b57dfaf55208cad985cb6ff023aed0c3841d876.tar.gz
Use emit instead of accept and accept_children in code generator
Diffstat (limited to 'vala/valatypeofexpression.vala')
-rw-r--r--vala/valatypeofexpression.vala8
1 files changed, 7 insertions, 1 deletions
diff --git a/vala/valatypeofexpression.vala b/vala/valatypeofexpression.vala
index 99d9145e3..2a31ec098 100644
--- a/vala/valatypeofexpression.vala
+++ b/vala/valatypeofexpression.vala
@@ -1,6 +1,6 @@
/* valatypeofexpression.vala
*
- * Copyright (C) 2006-2009 Jürg Billeter
+ * Copyright (C) 2006-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -82,4 +82,10 @@ public class Vala.TypeofExpression : Expression {
return !error;
}
+
+ public override void emit (CodeGenerator codegen) {
+ codegen.visit_typeof_expression (this);
+
+ codegen.visit_expression (this);
+ }
}