Add test for empty C# comment.

This was previously incorrectly tokenized, because it was recognized as the start of a documentation comment.
This commit is contained in:
Maikel Steneker
2020-12-23 10:46:34 +01:00
parent ed8fbccb1c
commit 77292da7af
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
/**/
// the previous comment is an empty delimited comment and not a document comment
class Foo { /// class X class Foo { /// class X
/* aaa /* aaa

View File

@ -1,8 +1,8 @@
[Image] or [Truncated image[ Bcol Ecol [Image] or [Truncated image[ Bcol Ecol
L1 L3
[class] 1 5 [class] 1 5
[Foo] 7 9 [Foo] 7 9
[{] 11 11 [{] 11 11
L6 L8
[}] 2 2 [}] 2 2
EOF EOF