maint: prohibit an operator at end of line
authorJim Meyering <meyering@redhat.com>
Mon, 30 Apr 2012 08:37:14 +0000 (10:37 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 2 May 2012 08:31:53 +0000 (10:31 +0200)
commite744f4b7b7de9b76fdd314aa406e9fb150b9168d
tree8656dd87e6c7ce4d1fd496ad70094a07f7346acc
parent57e0a882ef70712f79e7255aa5c1f8ba27b4c33e
maint: prohibit an operator at end of line

Many coding standards, including GNU's, advocate that when
splitting a line near a binary operator, one should put the
operator at the beginning of the continued line, rather than
at the end of the preceding one.  This is for readability:
such operators are relatively important to readability, and
they are more apparent at the beginning of a line than
at the varying-column end of line,
* cfg.mk (sc_prohibit_operator_at_end_of_line): New rule.
Exempt test.c and head.c.
cfg.mk