Browse Source

Fixed location bug.

newNRvisualizers
Mike Krüger 14 years ago
parent
commit
405e87ef2a
  1. 1
      ICSharpCode.NRefactory/CSharp/Parser/mcs/cs-parser.cs
  2. 1
      ICSharpCode.NRefactory/CSharp/Parser/mcs/cs-parser.jay

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

@ -4151,7 +4151,6 @@ void case_51() @@ -4151,7 +4151,6 @@ void case_51()
attrs = new Attributes (sect);
else
attrs.AddAttributes (sect);
lbag.AddLocation (sect, savedOpenLocation, savedCloseLocation);
yyVal = attrs;
}

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

@ -679,7 +679,6 @@ attribute_sections @@ -679,7 +679,6 @@ attribute_sections
attrs = new Attributes (sect);
else
attrs.AddAttributes (sect);
lbag.AddLocation (sect, savedOpenLocation, savedCloseLocation);
$$ = attrs;
}
;

Loading…
Cancel
Save