git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1275...
authorjlin16 <jlin16@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 4 Jul 2008 07:45:35 +0000 (07:45 +0000)
committerjlin16 <jlin16@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 4 Jul 2008 07:45:35 +0000 (07:45 +0000)
Source/Python/Ecc/c.py

index 48231f2..4056000 100644 (file)
@@ -22,7 +22,7 @@ def GetIgnoredDirListPattern():
     return p\r
 \r
 def GetFuncDeclPattern():\r
-    p = re.compile(r'(EFIAPI|EFI_BOOT_SERVICE|EFI_RUNTIME_SERVICE)?\s*[_\w]+\s*\(.*\)$', re.DOTALL)\r
+    p = re.compile(r'(?:EFIAPI|EFI_BOOT_SERVICE|EFI_RUNTIME_SERVICE)?\s*[_\w]+\s*\(.*\)$', re.DOTALL)\r
     return p\r
 \r
 def GetArrayPattern():\r