diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2009-03-09 07:10:38 +0000 |
---|---|---|
committer | Christopher Li <sparse@chrisli.org> | 2009-07-17 23:06:23 +0000 |
commit | e54eee71652916f89c188edec87e1e05b8729830 (patch) | |
tree | 4ba11faf210fd1309a069884f90f1563547278a4 | |
parent | Don't mess with passing symbol to declarator/direct_declarator (diff) | |
download | sparse-e54eee71652916f89c188edec87e1e05b8729830.tar.gz sparse-e54eee71652916f89c188edec87e1e05b8729830.tar.bz2 sparse-e54eee71652916f89c188edec87e1e05b8729830.zip |
Fix braino in which_kind()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |