ECC: CParser remove \ in string.
[people/mcb30/basetools.git] / Source / Python / GenFds / FdfParser.py
index 985b042..44f2d2a 100644 (file)
@@ -418,7 +418,7 @@ class FdfParser:
         \r
         while not self.__EndOfFile():\r
             \r
-            if self.__CurrentChar() == T_CHAR_DOUBLE_QUOTE:\r
+            if self.__CurrentChar() == T_CHAR_DOUBLE_QUOTE and not InComment:\r
                 InString = not InString\r
             # meet new line, then no longer in a comment for // and '#'\r
             if self.__CurrentChar() == T_CHAR_LF:\r