diff options
author | Jürg Billeter <j@bitron.ch> | 2008-11-10 22:01:51 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-11-10 22:01:51 +0000 |
commit | a86469ccc657e4e4cfe8449c2e4de83206195c24 (patch) | |
tree | 2dbb3390fcdbe96ac800ab9561ae7cb94b1600a9 /vala/valaswitchlabel.vala | |
parent | 67649405484570ae012df33b302e0b708a027b2e (diff) | |
download | vala-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/valaswitchlabel.vala')
-rw-r--r-- | vala/valaswitchlabel.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vala/valaswitchlabel.vala b/vala/valaswitchlabel.vala index a8ef91036..34f2ae677 100644 --- a/vala/valaswitchlabel.vala +++ b/vala/valaswitchlabel.vala @@ -62,4 +62,12 @@ public class Vala.SwitchLabel : CodeNode { visitor.visit_switch_label (this); } + + public override bool check (SemanticAnalyzer analyzer) { + if (expression != null) { + expression.check (analyzer); + } + + return true; + } } |