diff options
author | Mike Krüger <mkrueger@novell.com> | 2009-03-10 14:22:01 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2009-03-10 14:22:01 +0300 |
commit | 0ee843600e7a4fb4b52ef3a76df9d0ab24fe592c (patch) | |
tree | 0b887c58047a327139ed3d4a9c74130049a8939b /main/contrib | |
parent | 7f2b41a3d3e144a26fa23de9549c5414507ae01d (diff) |
* Src/Lexer/CSharp/Lexer.cs: fix comment position.
svn path=/trunk/monodevelop/; revision=128960
Diffstat (limited to 'main/contrib')
-rw-r--r-- | main/contrib/NRefactory/Project/ChangeLog | 4 | ||||
-rw-r--r-- | main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/main/contrib/NRefactory/Project/ChangeLog b/main/contrib/NRefactory/Project/ChangeLog index 9195843366..ce6300a460 100644 --- a/main/contrib/NRefactory/Project/ChangeLog +++ b/main/contrib/NRefactory/Project/ChangeLog @@ -1,5 +1,9 @@ 2009-03-10 Mike Krüger <mkrueger@novell.com> + * Src/Lexer/CSharp/Lexer.cs: fix comment position. + +2009-03-10 Mike Krüger <mkrueger@novell.com> + * Src: * Src/Ast: * Resources: diff --git a/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs b/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs index 82dc6710d4..b1297f220c 100644 --- a/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs +++ b/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs @@ -850,7 +850,7 @@ namespace ICSharpCode.NRefactory.Parser.CSharp } else {
specialTracker.StartComment(commentType, isAtLineBegin, new Location(Col, Line));
specialTracker.AddString(ReadCommentToEOL());
- specialTracker.FinishComment(new Location(Col, Line));
+ specialTracker.FinishComment(lastLineEnd);
}
}
|