Skip to content

Commit

Permalink
fix pos
Browse files Browse the repository at this point in the history
  • Loading branch information
wgtmac committed Jan 7, 2025
1 parent 04fd4d8 commit 6b6c0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/c++/impl/Compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static void unescape(string &s) {
std::string::size_type pos = 0;
while ((pos = s.find("\\\"", pos)) != std::string::npos) {
s.replace(pos, 2, "\"");
pos += 2;
pos += 1;
}
}

Expand Down

0 comments on commit 6b6c0b5

Please sign in to comment.