← every case · 1000 · comments
D writes block comments two ways, /* */ and /+ +/. Each ends only at its own closer, so the other pair's symbol sitting inside one is text
| 1 | commentscommentscommentscommentscomments | /* a plain block holding a +/ token as text */ |
| 2 | commentscommentscommentscommentscomments | /+ a nesting block holding a */ token as text +/ |
| 3 | codecodecodecodecode | int x = 1; |
stringcommentthe tag around another language
cloc --json cases/1000-comments/1160-two_comment_pairs_of_one_language/input.d
mezura cases/1000-comments/1160-two_comment_pairs_of_one_language/input.d --output json --hide timing --counting content
mezura cases/1000-comments/1160-two_comment_pairs_of_one_language/input.d --output json --hide timing --counting region
scc --format json cases/1000-comments/1160-two_comment_pairs_of_one_language/input.d
tokei --output json cases/1000-comments/1160-two_comment_pairs_of_one_language/input.d