diff options
Diffstat (limited to 'bin/find-unused-defines.py')
-rwxr-xr-x | bin/find-unused-defines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find-unused-defines.py b/bin/find-unused-defines.py index 6ac190c02638..aafcc3fec13c 100755 --- a/bin/find-unused-defines.py +++ b/bin/find-unused-defines.py @@ -99,7 +99,7 @@ def in_exclusion_set( a ): return False; # find defines, excluding the externals folder -a = subprocess.Popen(r"git grep -hP '^#define\s+\w\w\w\w+\s*' -- \"[!e][!x][!t]*\" | sort -u", stdout=subprocess.PIPE, shell=True) +a = subprocess.Popen("git grep -hP '^#define\\s+\\w\\w\\w\\w+\\s*' -- \"[!e][!x][!t]*\" | sort -u", stdout=subprocess.PIPE, shell=True) name_re = re.compile(r"#define\s+(\w+)") with a.stdout as txt: |