summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/c.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Eot/c.py')
-rw-r--r--BaseTools/Source/Python/Eot/c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/c.py b/BaseTools/Source/Python/Eot/c.py
index dd9530fed6..a85564d600 100644
--- a/BaseTools/Source/Python/Eot/c.py
+++ b/BaseTools/Source/Python/Eot/c.py
@@ -54,7 +54,7 @@ def GetArrayPattern():
# @return p: the pattern of function pointer
#
def GetTypedefFuncPointerPattern():
- p = re.compile('[_\w\s]*\([\w\s]*\*+\s*[_\w]+\s*\)\s*\(.*\)', re.DOTALL)
+ p = re.compile(r'[_\w\s]*\([\w\s]*\*+\s*[_\w]+\s*\)\s*\(.*\)', re.DOTALL)
return p
## GetDB() method