← every case · 1000 · comments
each pair ends only at its own closer, the other pair's token inside is text
| 1 | commentscommentscommentscommentscommentscomments | { a brace comment holding a *) token as text } |
| 2 | commentscommentscommentscommentscommentscomments | (* a parenthesis comment holding a } token as text *) |
| 3 | codecodecodecodecodecode | x := 1; |
stringcommentthe tag around another language
cloc --json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas
--strip-str-comments
cloc --json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas --strip-str-comments
cloc --json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas --docstring-as-code
mezura cases/1000-comments/1170-pascal_writes_two_pairs/input.pas --output json --hide timing --no-default-config --no-local --counting content
mezura cases/1000-comments/1170-pascal_writes_two_pairs/input.pas --output json --hide timing --no-default-config --no-local --counting region
scc --format json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas
tokei --output json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas