← every case · 5000 · line splices
a backslash at the end of a line comment continues it onto the next line in C
| 1 | commentscommentscommentscommentscommentscomments | // this comment continues \ |
| 2 | commentscommentscommentscommentscommentscomments | onto the next line in C |
| 3 | codecodecodecodecodecode | int x = 1; |
stringcommentthe tag around another language
a line comment stops at the line break whatever the line ends with, so the line spliced onto it counts as code
cloc --json cases/5000-line_splices/5030-line_splice_inside_a_comment/input.c
--strip-str-comments
a line comment stops at the line break whatever the line ends with, so the line spliced onto it counts as code
cloc --json cases/5000-line_splices/5030-line_splice_inside_a_comment/input.c --strip-str-comments
a line comment stops at the line break whatever the line ends with, so the line spliced onto it counts as code
cloc --json cases/5000-line_splices/5030-line_splice_inside_a_comment/input.c --docstring-as-code
mezura cases/5000-line_splices/5030-line_splice_inside_a_comment/input.c --output json --hide timing --no-default-config --no-local --counting content
mezura cases/5000-line_splices/5030-line_splice_inside_a_comment/input.c --output json --hide timing --no-default-config --no-local --counting region
scc --format json cases/5000-line_splices/5030-line_splice_inside_a_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/5030-line_splice_inside_a_comment/input.c