diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-13 15:44:44 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-13 15:44:44 +0000 |
commit | 206cd6716043d886c6531ca358f5b442c5ea991e (patch) | |
tree | 0d277104d825ce27f0aefa6734071809aabbf1b5 /ccode/valaccodegotostatement.vala | |
parent | 67916b6274ed6dfbc0200cca77a52f1f21848486 (diff) | |
download | vala-206cd6716043d886c6531ca358f5b442c5ea991e.tar.gz |
report warning when using obsolete syntax for non-null types
2008-04-13 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: report warning when using obsolete syntax
for non-null types
* */*.vala, */*.vapi: port to new syntax
svn path=/trunk/; revision=1208
Diffstat (limited to 'ccode/valaccodegotostatement.vala')
-rw-r--r-- | ccode/valaccodegotostatement.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ccode/valaccodegotostatement.vala b/ccode/valaccodegotostatement.vala index 6be9aecdf..9c0a779c2 100644 --- a/ccode/valaccodegotostatement.vala +++ b/ccode/valaccodegotostatement.vala @@ -29,12 +29,12 @@ public class Vala.CCodeGotoStatement : CCodeStatement { /** * The name of the target label. */ - public string! name { get; set construct; } + public string name { get; set construct; } - public CCodeGotoStatement (construct string! name) { + public CCodeGotoStatement (construct string name) { } - public override void write (CCodeWriter! writer) { + public override void write (CCodeWriter writer) { writer.write_indent (); writer.write_string ("goto "); writer.write_string (name); |