* [PATCH 3/18] Fix braino in which_kind()
@ 2009-03-09 7:10 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2009-03-09 7:10 UTC (permalink / raw)
To: linux-sparse
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
parse.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/parse.c b/parse.c
index 74a8103..08de424 100644
--- a/parse.c
+++ b/parse.c
@@ -1260,7 +1260,7 @@ static enum kind which_kind(struct token *token, struct token **p,
}
if (token_type(next) != TOKEN_SPECIAL)
- return dont_nest ? Bad_Nested : Bad_Func;
+ return !dont_nest ? Bad_Nested : Bad_Func;
if (next->special == ')') {
/* don't complain about those */
--
1.5.6.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-09 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 7:10 [PATCH 3/18] Fix braino in which_kind() Al Viro
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).