Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@novell.com>2009-03-10 14:22:01 +0300
committerMike Krüger <mkrueger@novell.com>2009-03-10 14:22:01 +0300
commit0ee843600e7a4fb4b52ef3a76df9d0ab24fe592c (patch)
tree0b887c58047a327139ed3d4a9c74130049a8939b /main/contrib
parent7f2b41a3d3e144a26fa23de9549c5414507ae01d (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/ChangeLog4
-rw-r--r--main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs2
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);
}
}