mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix filename backslash escapes in C code (#5947).
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ string VString::upcase(const string& str) VL_PURE {
|
||||
return result;
|
||||
}
|
||||
|
||||
string VString::quoteAny(const string& str, char tgt, char esc) {
|
||||
string VString::quoteAny(const string& str, char tgt, char esc) VL_PURE {
|
||||
string result;
|
||||
for (const char c : str) {
|
||||
if (c == tgt) result += esc;
|
||||
|
||||
Reference in New Issue
Block a user