Show More
@@ -288,7 +288,7 b' cpats = [' | |||
|
288 | 288 | (r'return\(', "return is not a function"), |
|
289 | 289 | (r' ;', "no space before ;"), |
|
290 | 290 | (r'\w+\* \w+', "use int *foo, not int* foo"), |
|
291 | (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), | |
|
291 | (r'\W\([^\)]+\) \w+', "use (int)foo, not (int) foo"), | |
|
292 | 292 | (r'\w+ (\+\+|--)', "use foo++, not foo ++"), |
|
293 | 293 | (r'\w,\w', "missing whitespace after ,"), |
|
294 | 294 | (r'^[^#]\w[+/*]\w', "missing whitespace in expression"), |
General Comments 0
You need to be logged in to leave comments.
Login now