Revision 9fbe4784

b/scripts/checkpatch.pl
2068 2068
					}
2069 2069

  
2070 2070
				# , must have a space on the right.
2071
                                # not required when having a single },{ on one line
2071 2072
				} elsif ($op eq ',') {
2072
					if ($ctx !~ /.x[WEC]/ && $cc !~ /^}/) {
2073
					if ($ctx !~ /.x[WEC]/ && $cc !~ /^}/ &&
2074
                                            ($elements[$n] . $elements[$n + 2]) !~ " *}{") {
2073 2075
						ERROR("space required after that '$op' $at\n" . $hereptr);
2074 2076
					}
2075 2077

  

Also available in: Unified diff