mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-05 17:05:11 +02:00
saif: skip escape character instead of copying escaped one (#229)
This commit is contained in:
+1
-3
@@ -196,9 +196,7 @@ SaifReader::unescaped(const char *token)
|
||||
string unescaped;
|
||||
for (const char *t = token; *t; t++) {
|
||||
char ch = *t;
|
||||
if (ch == escape_)
|
||||
unescaped += *(t+1);
|
||||
else
|
||||
if (ch != escape_)
|
||||
// Just the normal noises.
|
||||
unescaped += ch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user