Browse Source

Fixed token location.

pull/32/merge
Mike Krüger 13 years ago
parent
commit
35c8f4994d
  1. 1023
      ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.cs
  2. 5
      ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay

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

File diff suppressed because it is too large Load Diff

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

@ -2815,8 +2815,9 @@ member_name @@ -2815,8 +2815,9 @@ member_name
| namespace_or_type_expr DOT IDENTIFIER opt_type_argument_list
{
var lt = (Tokenizer.LocatedToken) $3;
$$ = new MemberAccess ((Expression) $1, lt.Value, (TypeArguments) $4, lt.Location);
lbag.AddLocation ($$, GetLocation ($2));
$$ = new MemberAccess ((Expression) $1, lt.Value, (TypeArguments) $4, lt.Location) {
DotLocation = GetLocation ($2)
};
}
;

Loading…
Cancel
Save