summaryrefslogtreecommitdiff
path: root/vala/valasizeofexpression.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-11-10 22:01:51 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-11-10 22:01:51 +0000
commita86469ccc657e4e4cfe8449c2e4de83206195c24 (patch)
tree2dbb3390fcdbe96ac800ab9561ae7cb94b1600a9 /vala/valasizeofexpression.vala
parent67649405484570ae012df33b302e0b708a027b2e (diff)
downloadvala-a86469ccc657e4e4cfe8449c2e4de83206195c24.tar.gz
Remove unnecessary accept calls in semantic analyzer
2008-11-10 Jürg Billeter <j@bitron.ch> * vala/valaaddressofexpression.vala: * vala/valaarraycreationexpression.vala: * vala/valaassignment.vala: * vala/valabinaryexpression.vala: * vala/valablock.vala: * vala/valacastexpression.vala: * vala/valacatchclause.vala: * vala/valaclass.vala: * vala/valaconditionalexpression.vala: * vala/valaconstant.vala: * vala/valaconstructor.vala: * vala/valacreationmethod.vala: * vala/valadeclarationstatement.vala: * vala/valadelegate.vala: * vala/valadeletestatement.vala: * vala/valadestructor.vala: * vala/valadostatement.vala: * vala/valaelementaccess.vala: * vala/valaenum.vala: * vala/valaenumvalue.vala: * vala/valaerrorcode.vala: * vala/valaerrordomain.vala: * vala/valaexpressionstatement.vala: * vala/valafield.vala: * vala/valaforeachstatement.vala: * vala/valaformalparameter.vala: * vala/valaforstatement.vala: * vala/valaifstatement.vala: * vala/valainitializerlist.vala: * vala/valainterface.vala: * vala/valainvocationexpression.vala: * vala/valalambdaexpression.vala: * vala/valalocalvariable.vala: * vala/valalockstatement.vala: * vala/valamemberaccess.vala: * vala/valamemberinitializer.vala: * vala/valamethod.vala: * vala/valanamespace.vala: * vala/valaobjectcreationexpression.vala: * vala/valaparenthesizedexpression.vala: * vala/valapointerindirection.vala: * vala/valapostfixexpression.vala: * vala/valaproperty.vala: * vala/valapropertyaccessor.vala: * vala/valareferencetransferexpression.vala: * vala/valareturnstatement.vala: * vala/valasemanticanalyzer.vala: * vala/valasignal.vala: * vala/valasizeofexpression.vala: * vala/valasourcefile.vala: * vala/valastruct.vala: * vala/valaswitchlabel.vala: * vala/valaswitchsection.vala: * vala/valaswitchstatement.vala: * vala/valathrowstatement.vala: * vala/valatrystatement.vala: * vala/valatypecheck.vala: * vala/valatypeofexpression.vala: * vala/valaunaryexpression.vala: * vala/valawhilestatement.vala: * vala/valayieldstatement.vala: Remove unnecessary accept calls in semantic analyzer svn path=/trunk/; revision=2010
Diffstat (limited to 'vala/valasizeofexpression.vala')
-rw-r--r--vala/valasizeofexpression.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/vala/valasizeofexpression.vala b/vala/valasizeofexpression.vala
index d558f100c..673b16e9c 100644
--- a/vala/valasizeofexpression.vala
+++ b/vala/valasizeofexpression.vala
@@ -76,6 +76,8 @@ public class Vala.SizeofExpression : Expression {
checked = true;
+ type_reference.check (analyzer);
+
value_type = analyzer.ulong_type;
return !error;