Browse Source

Fixed parser bug.

newNRvisualizers
Mike Krüger 15 years ago
parent
commit
85e1173767
  1. 1
      ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs

1
ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs

@ -1588,6 +1588,7 @@ namespace ICSharpCode.NRefactory.CSharp @@ -1588,6 +1588,7 @@ namespace ICSharpCode.NRefactory.CSharp
}
cur = u.Statement;
usingResult.AddChild (new CSharpTokenNode (Convert (blockStatement.EndLocation), 1), UsingStatement.Roles.RPar);
if (cur != null)
usingResult.AddChild ((Statement)cur.Accept (this), UsingStatement.Roles.EmbeddedStatement);
}
return usingResult;

Loading…
Cancel
Save