5
This catches code like "for(", which should be "for (". It includes all
6
keywords that denote control structures. But it should not catch declarations,
7
definitions or calls of functions whose name happens to end with a control
8
structure keyword, for example "meanwhile(parameter)".
11
error_msg ="A space is mandatory after catch/for/if/switch/throw/while."
13
regexp=r"""[^_a-zA-Z0-9](catch|for|if|switch|throw|while)\("""