This project is read-only.

GetLiteralString() in CodeLexer.cs

Nov 21, 2010 at 4:46 AM

I don't know how to submit a patch to codeplex, so I will document this problem here.

in line around 1327,  GetLiteralString() in CodeLexer.cs in Project/Src/AddIns/CSharp/Parser,

instead of 

this.marker.Index = endIndex + 1;

I think it should be

this.marker.Index = endIndex;

In the next line, instead of

this.marker.IndexOnLine = endIndexOnLine + 1;

I think it should be 

this.marker.IndexOnLine = endIndexOnLine;

i.e. in both cases I think there should be no "+1".

Feb 4, 2011 at 8:59 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Mar 9, 2011 at 12:41 PM


This has been fixed in the upcoming 4.5 release. See bug 6794