Browse Source

Took out ifdef.

(I suppose that patch wont make it upstream)
newNRvisualizers
Mike Krüger 14 years ago
parent
commit
5e93376fb3
  1. 2
      ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.cs
  2. 2
      ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay
  3. 4
      ICSharpCode.NRefactory.CSharp/Parser/mcs/method.cs

2
ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.cs

@ -5602,9 +5602,7 @@ void case_278() @@ -5602,9 +5602,7 @@ void case_278()
Destructor d = new Destructor (current_type, (Modifiers) yyVals[-6+yyTop],
ParametersCompiled.EmptyReadOnlyParameters, (Attributes) yyVals[-7+yyTop], lt.Location);
#if FULL_AST
d.Identifier = lt.Value;
#endif
if (doc_support)
d.DocComment = ConsumeStoredComment ();

2
ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay

@ -2313,9 +2313,7 @@ destructor_declaration @@ -2313,9 +2313,7 @@ destructor_declaration
Destructor d = new Destructor (current_type, (Modifiers) $2,
ParametersCompiled.EmptyReadOnlyParameters, (Attributes) $1, lt.Location);
#if FULL_AST
d.Identifier = lt.Value;
#endif
if (doc_support)
d.DocComment = ConsumeStoredComment ();

4
ICSharpCode.NRefactory.CSharp/Parser/mcs/method.cs

@ -2100,13 +2100,11 @@ namespace Mono.CSharp { @@ -2100,13 +2100,11 @@ namespace Mono.CSharp {
public static readonly string MetadataName = "Finalize";
#if FULL_AST
public string Identifer {
get;
set;
}
#endif
public Destructor (TypeDefinition parent, Modifiers mod, ParametersCompiled parameters, Attributes attrs, Location l)
: base (parent, null, mod, AllowedModifiers, new MemberName (MetadataName, l), attrs, parameters)
{

Loading…
Cancel
Save