Show More
@@ -227,7 +227,7 b' cpats = [' | |||||
227 | (r' ;', "no space before ;"), |
|
227 | (r' ;', "no space before ;"), | |
228 | (r'\w+\* \w+', "use int *foo, not int* foo"), |
|
228 | (r'\w+\* \w+', "use int *foo, not int* foo"), | |
229 | (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), |
|
229 | (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), | |
230 |
(r'\ |
|
230 | (r'\w+ (\+\+|--)', "use foo++, not foo ++"), | |
231 | (r'\w,\w', "missing whitespace after ,"), |
|
231 | (r'\w,\w', "missing whitespace after ,"), | |
232 | (r'^[^#]\w[+/*]\w', "missing whitespace in expression"), |
|
232 | (r'^[^#]\w[+/*]\w', "missing whitespace in expression"), | |
233 | (r'^#\s+\w', "use #foo, not # foo"), |
|
233 | (r'^#\s+\w', "use #foo, not # foo"), |
General Comments 0
You need to be logged in to leave comments.
Login now