]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Library/Misc.py
Sync BaseTool trunk (version r2460) into EDKII BaseTools. The change mainly includes:
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Library / Misc.py
index b67cd102d1601e89ee6cfbe0d063366ce077d1b4..889b777d190ae0e6c7c90d2a1a5899c06e3c2092 100644 (file)
@@ -875,7 +875,7 @@ def ProcessEdkComment(LineList):
                 for Index in xrange(StartPos, EndPos+1):
                     LineList[Index] = ''
                 FindEdkBlockComment = False
-        elif Line.find("//") != -1:
+        elif Line.find("//") != -1 and not Line.startswith("#"):
             #
             # handling cpp style comment
             #