Message ID | E1LgZdG-0000rw-0M@ZenIV.linux.org.uk (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
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 */
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> --- parse.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)