← every case · 1000 · comments

1170-pascal_writes_two_pairs

each pair ends only at its own closer, the other pair's token inside is text

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.pas
1comments{ a brace comment holding a *) token as text }
2comments(* a parenthesis comment holding a } token as text *)
3codex := 1;

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

cloc --json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas

mezura.content ✓ agrees
the rules ask3 lines · 1 code · 2 comments · 0 extra
it answers3 lines · 1 code · 2 comments · 0 extra

mezura cases/1000-comments/1170-pascal_writes_two_pairs/input.pas --output json --hide timing --counting content

mezura.region ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

mezura cases/1000-comments/1170-pascal_writes_two_pairs/input.pas --output json --hide timing --counting region

scc.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

scc --format json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas

tokei.default ✓ agrees
the rules ask3 lines · 0 blanks · 1 code · 2 comments
it answers3 lines · 0 blanks · 1 code · 2 comments

tokei --output json cases/1000-comments/1170-pascal_writes_two_pairs/input.pas