From f6c6e2c29c49ae42ee084c38bca00b83d3990737 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 5 Jun 2020 14:55:45 -0400 Subject: [PATCH] Reverted a change from a prior commit that removed backslashes in front of brackets in LEF names. These have a special meaning that is not yet handled correctly, but removing them is the wrong approach. --- lef/lefRead.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lef/lefRead.c b/lef/lefRead.c index 57408c7f..625ecea7 100644 --- a/lef/lefRead.c +++ b/lef/lefRead.c @@ -1496,14 +1496,6 @@ LefReadPin(lefMacro, f, pinname, pinNum, oscale, is_imported) *delim = '<'; if ((delim2 = strchr(testpin, ']')) != NULL) *delim2 = '>'; - - /* In case the LEF file escapes the bracket, remove the backslashes */ - if ((delim > testpin) && (*(delim - 1) == '\\')) - { - memmove(delim - 1, delim, strlen(delim) + 1); - if (delim2 > delim) - memmove(delim2 - 2, delim2 - 1, strlen(delim2 - 1) + 1); - } } for (firstlab = lefMacro->cd_labels; firstlab; firstlab = firstlab->lab_next) if (!strcmp(firstlab->lab_text, testpin))