← every case · 3000 · escapes and the closing quote
an escaped quote does not close the string, so the // after it is a real comment and not text inside it
| 1 | codecodecodecodecode | char *s = "a \" b"; // the escaped quote does not close the string |
| 2 | codecodecodecodecode | int x = 1; |
stringcommentthe tag around another language
cloc --json cases/3000-escapes_and_the_closing_quote/3010-escaped_quote_before_comment/input.c
mezura cases/3000-escapes_and_the_closing_quote/3010-escaped_quote_before_comment/input.c --output json --hide timing --counting content
mezura cases/3000-escapes_and_the_closing_quote/3010-escaped_quote_before_comment/input.c --output json --hide timing --counting region
scc --format json cases/3000-escapes_and_the_closing_quote/3010-escaped_quote_before_comment/input.c
tokei --output json cases/3000-escapes_and_the_closing_quote/3010-escaped_quote_before_comment/input.c