ppTests Comment-only explain replacements.
This commit is contained in:
parent
28cbd8aaf4
commit
d1e7f32d05
@ -816,12 +816,12 @@ fn resolve_text_macro_usage<T: AsRef<Path>, U: AsRef<Path>>(
|
|||||||
} else {
|
} else {
|
||||||
replaced.push_str(
|
replaced.push_str(
|
||||||
&text
|
&text
|
||||||
.replace("``", "")
|
.replace("``", "") // Argument substitution.
|
||||||
.replace("`\\`\"", "\\\"")
|
.replace("`\\`\"", "\\\"") // Escaped backslash.
|
||||||
.replace("`\"", "\"")
|
.replace("`\"", "\"") // Escaped quote.
|
||||||
.replace("\\\n", "\n")
|
.replace("\\\n", "\n") // Line continuation (Unix).
|
||||||
.replace("\\\r\n", "\r\n")
|
.replace("\\\r\n", "\r\n") // Line continuation (Windows).
|
||||||
.replace("\\\r", "\r"),
|
.replace("\\\r", "\r"), // Line continuation (old Mac).
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user