forked from phoedos/pmd
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:
@ -1,3 +1,5 @@
|
||||
/**/
|
||||
// the previous comment is an empty delimited comment and not a document comment
|
||||
class Foo { /// class X
|
||||
/* aaa
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
[Image] or [Truncated image[ Bcol Ecol
|
||||
L1
|
||||
L3
|
||||
[class] 1 5
|
||||
[Foo] 7 9
|
||||
[{] 11 11
|
||||
L6
|
||||
L8
|
||||
[}] 2 2
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user