ThirdParty/Pygments/pygments/lexers/_cocoa_builtins.py

changeset 6651
e8f3b5568b21
parent 5713
6762afd9f963
diff -r 1dd52aa8897c -r e8f3b5568b21 ThirdParty/Pygments/pygments/lexers/_cocoa_builtins.py
--- a/ThirdParty/Pygments/pygments/lexers/_cocoa_builtins.py	Sat Jan 12 12:11:42 2019 +0100
+++ b/ThirdParty/Pygments/pygments/lexers/_cocoa_builtins.py	Sat Jan 12 12:40:14 2019 +0100
@@ -41,23 +41,23 @@
 
             headerFilePath = frameworkHeadersDir + f
             content = open(headerFilePath).read()
-            res = re.findall('(?<=@interface )\w+', content)
+            res = re.findall(r'(?<=@interface )\w+', content)
             for r in res:
                 all_interfaces.add(r)
 
-            res = re.findall('(?<=@protocol )\w+', content)
+            res = re.findall(r'(?<=@protocol )\w+', content)
             for r in res:
                 all_protocols.add(r)
 
-            res = re.findall('(?<=typedef enum )\w+', content)
+            res = re.findall(r'(?<=typedef enum )\w+', content)
             for r in res:
                 all_primitives.add(r)
 
-            res = re.findall('(?<=typedef struct )\w+', content)
+            res = re.findall(r'(?<=typedef struct )\w+', content)
             for r in res:
                 all_primitives.add(r)
 
-            res = re.findall('(?<=typedef const struct )\w+', content)
+            res = re.findall(r'(?<=typedef const struct )\w+', content)
             for r in res:
                 all_primitives.add(r)
 

eric ide

mercurial