summaryrefslogtreecommitdiff
path: root/ccode/valaccodecasestatement.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-13 16:17:00 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-13 16:17:00 +0000
commit85cfd74faae12e90275990b2b887adc9a1f71d1d (patch)
tree2cce940835212c7cd7c0854482abe9a74cbbd120 /ccode/valaccodecasestatement.vala
parent206cd6716043d886c6531ca358f5b442c5ea991e (diff)
downloadvala-85cfd74faae12e90275990b2b887adc9a1f71d1d.tar.gz
deprecate construct as parameter modifier, fixes bug 524138
2008-04-13 Juerg Billeter <j@bitron.ch> * vala/valaparser.vala: deprecate construct as parameter modifier, fixes bug 524138 * */*.vala: port to new syntax svn path=/trunk/; revision=1209
Diffstat (limited to 'ccode/valaccodecasestatement.vala')
-rw-r--r--ccode/valaccodecasestatement.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/ccode/valaccodecasestatement.vala b/ccode/valaccodecasestatement.vala
index e2e9950ce..1ac924b24 100644
--- a/ccode/valaccodecasestatement.vala
+++ b/ccode/valaccodecasestatement.vala
@@ -34,7 +34,8 @@ public class Vala.CCodeCaseStatement : CCodeStatement {
private Gee.List<CCodeStatement> statements = new ArrayList<CCodeStatement> ();
- public CCodeCaseStatement (construct CCodeExpression expression) {
+ public CCodeCaseStatement (CCodeExpression expression) {
+ this.expression = expression;
}
/**