[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1375714059-29567-1-git-send-email-Julia.Lawall@lip6.fr>
Date: Mon, 5 Aug 2013 16:47:35 +0200
From: Julia Lawall <Julia.Lawall@...6.fr>
To: linux-kernel@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org
Subject: [PATCH] adjust code alignment
These patches result from the following semantic patch
(http://coccinelle.lip6.fr/), which checks for successive statements that
are not aligned.
@bad@
statement S;
expression e;
position p1,p;
@@
S@p1
e@p;
@script:ocaml@
p1 << bad.p1;
p << bad.p;
@@
if not ((List.hd p1).line = (List.hd p).line)
then include_match false
@r@
expression e1,e2;
position p1 != bad.p,p2;
@@
e1@p1;
e2@p2;
@script:ocaml@
p1 << r.p1;
p2 << r.p2;
@@
if not ((List.hd p1).col = (List.hd p2).col) &&
not ((List.hd p1).line = (List.hd p2).line)
then begin print_main "" p1; print_secs "" p2 end
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists