linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] parse.c: "if(" -> "if (" adjustment
@ 2011-04-16 11:29 Jan Pokorný
  2011-04-26  7:34 ` Christopher Li
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Pokorný @ 2011-04-16 11:29 UTC (permalink / raw)
  To: sparse; +Cc: linux-sparse

Signed-off-by: Jan Pokorny <pokorny_jan@seznam.cz>
---
 parse.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/parse.c b/parse.c
index 537055f..9e79ef0 100644
--- a/parse.c
+++ b/parse.c
@@ -2235,9 +2235,9 @@ static struct token *parse_context_statement(struct token *token, struct stateme
 {
 	stmt->type = STMT_CONTEXT;
 	token = parse_expression(token->next, &stmt->expression);
-	if(stmt->expression->type == EXPR_PREOP
-	   && stmt->expression->op == '('
-	   && stmt->expression->unop->type == EXPR_COMMA) {
+	if (stmt->expression->type == EXPR_PREOP
+	    && stmt->expression->op == '('
+	    && stmt->expression->unop->type == EXPR_COMMA) {
 		struct expression *expr;
 		expr = stmt->expression->unop;
 		stmt->context = expr->left;
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] parse.c: "if(" -> "if (" adjustment
  2011-04-16 11:29 [PATCH] parse.c: "if(" -> "if (" adjustment Jan Pokorný
@ 2011-04-26  7:34 ` Christopher Li
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Li @ 2011-04-26  7:34 UTC (permalink / raw)
  To: Jan Pokorný; +Cc: linux-sparse

On Sat, Apr 16, 2011 at 4:29 AM, Jan Pokorný <pokorny_jan@seznam.cz> wrote:
> Signed-off-by: Jan Pokorny <pokorny_jan@seznam.cz>
> ---
>  parse.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Applied.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-26  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 11:29 [PATCH] parse.c: "if(" -> "if (" adjustment Jan Pokorný
2011-04-26  7:34 ` Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).