← every case · 5000 · line splices
a line holding real code ends in a spliced line comment, so the next line belongs to that comment in C
| 1 | codecodecodecodecode | int a = 1; // comment \ |
| 2 | commentscommentscommentscommentscomments | joined to the comment |
| 3 | codecodecodecodecode | int x = 1; |
stringcommentthe tag around another language
cloc --json cases/5000-line_splices/5060-code_then_a_spliced_line_comment/input.c
mezura cases/5000-line_splices/5060-code_then_a_spliced_line_comment/input.c --output json --hide timing --counting content
mezura cases/5000-line_splices/5060-code_then_a_spliced_line_comment/input.c --output json --hide timing --counting region
the comment ends at the newline, so the line joined to it is counted as code
scc --format json cases/5000-line_splices/5060-code_then_a_spliced_line_comment/input.c
the comment ends at the newline, so the line joined to it is counted as code
tokei --output json cases/5000-line_splices/5060-code_then_a_spliced_line_comment/input.c