X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fgmcs%2Fcs-parser.jay;h=67d6b302e2f2077af238b60e11df1fdc20f757c7;hb=035f91470aa7a1d03bfba7e2f05a8215410679f0;hp=efe6149fb67a41dca94310eb033eff1b395d5576;hpb=28daa225416c618f4c241a557e24b7fec3872cf0;p=mono.git diff --git a/mcs/gmcs/cs-parser.jay b/mcs/gmcs/cs-parser.jay index efe6149fb67..67d6b302e2f 100644 --- a/mcs/gmcs/cs-parser.jay +++ b/mcs/gmcs/cs-parser.jay @@ -843,7 +843,7 @@ struct_declaration MemberName name = MakeName ((MemberName) $6); push_current_class (new Struct ( current_namespace, current_class, name, (int) $2, - (Attributes) $1), false, $3); + (Attributes) $1), $3); } opt_class_base opt_type_parameter_constraints_clauses @@ -1658,7 +1658,7 @@ interface_declaration push_current_class (new Interface ( current_namespace, current_class, name, (int) $2, - (Attributes) $1), true, $3); + (Attributes) $1), $3); } opt_class_base opt_type_parameter_constraints_clauses @@ -2688,7 +2688,7 @@ enum_declaration e.AddEnumMember (em); } - current_container.AddTypeContainer (e, false); + current_container.AddTypeContainer (e); $$ = e; } @@ -4059,7 +4059,7 @@ class_declaration push_current_class (new Class ( current_namespace, current_class, name, - mod_flags, (Attributes) $1), false, $3); + mod_flags, (Attributes) $1), $3); } opt_class_base opt_type_parameter_constraints_clauses @@ -5413,12 +5413,12 @@ static void Error_DuplicateParameterModifier (Location loc, Parameter.Modifier m Parameter.GetModifierSignature (mod)); } -void push_current_class (TypeContainer tc, bool is_interface, object partial_token) +void push_current_class (TypeContainer tc, object partial_token) { if (partial_token != null) - current_container = current_container.AddPartial (tc, is_interface); + current_container = current_container.AddPartial (tc); else - current_container = current_container.AddTypeContainer (tc, is_interface); + current_container = current_container.AddTypeContainer (tc); current_class = tc; }