On 11/13/2014 07:37 AM, Martin Kletzander wrote:
> We're looking for three consecutive lines, first one is a if/for/while
> with a condition and start of body, second one is a body with one and
> only semicolon and third is end of the body by itself.
>
> Signed-off-by: Martin Kletzander
> ---
>
On 11/13/2014 04:18 PM, John Ferlan wrote:
>
> [1]I have to say the error one gets if they violate this rule:
>
> maint.mk: incorrect whitespace, see HACKING for rules
> make: *** [bracket-spacing-check] Error 1
>
Maybe we should change the message in cfg.mk to state 'incorrect
formatting' inst
On 11/13/2014 09:37 AM, Martin Kletzander wrote:
> We're looking for three consecutive lines, first one is a if/for/while
> with a condition and start of body, second one is a body with one and
> only semicolon and third is end of the body by itself.
>
And because of a later ";;" check - one ca
We're looking for three consecutive lines, first one is a if/for/while
with a condition and start of body, second one is a body with one and
only semicolon and third is end of the body by itself.
Signed-off-by: Martin Kletzander
---
build-aux/bracket-spacing.pl | 35 +