Skip to content

Commit 7f7feda

Browse files
djeadaCopilot
andauthored
Update src/strip_cpp_comments.sh
Co-authored-by: Copilot <[email protected]>
1 parent 97fa6c3 commit 7f7feda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strip_cpp_comments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ strip_file() {
8181
printf '%s' "$c" >&3
8282
if (( escape )); then
8383
escape=0
84-
elif [[ $c == '\' ]]; then
84+
elif [[ $c == "\\" ]]; then
8585
escape=1
8686
elif [[ $c == "'" ]]; then
8787
in_char=0

0 commit comments

Comments
 (0)