]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Delegate processing of common Field attributes to the Variable base class
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 16 Mar 2011 14:06:42 +0000 (15:06 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Thu, 7 Apr 2011 21:23:05 +0000 (23:23 +0200)
vala/valafield.vala

index 4a927d2bda353ad71061c974b0f5aab080a6b1db..4d260d1ed29fb6f3e8bf23054baec8c984947daf 100644 (file)
@@ -111,24 +111,6 @@ public class Vala.Field : Variable, Lockable {
                                add_cheader_filename (filename);
                        }
                }
-               if (a.has_argument ("array_length")) {
-                       no_array_length = !a.get_bool ("array_length");
-               }
-               if (a.has_argument ("array_null_terminated")) {
-                       array_null_terminated = a.get_bool ("array_null_terminated");
-               }
-               if (a.has_argument ("array_length_cname")) {
-                       set_array_length_cname (a.get_string ("array_length_cname"));
-               }
-               if (a.has_argument ("array_length_cexpr")) {
-                       set_array_length_cexpr (a.get_string ("array_length_cexpr"));
-               }
-               if (a.has_argument ("array_length_type")) {
-                       array_length_type = a.get_string ("array_length_type");
-               }
-               if (a.has_argument ("delegate_target")) {
-                       no_delegate_target = !a.get_bool ("delegate_target");
-               }
        }
        
        /**