Show More
@@ -335,6 +335,7 cpats = [ | |||
|
335 | 335 | (r'(while|if|do|for)\(', "use space after while/if/do/for"), |
|
336 | 336 | (r'return\(', "return is not a function"), |
|
337 | 337 | (r' ;', "no space before ;"), |
|
338 | (r'[^;] \)', "no space before )"), | |
|
338 | 339 | (r'[)][{]', "space between ) and {"), |
|
339 | 340 | (r'\w+\* \w+', "use int *foo, not int* foo"), |
|
340 | 341 | (r'\W\([^\)]+\) \w+', "use (int)foo, not (int) foo"), |
General Comments 0
You need to be logged in to leave comments.
Login now