diff --git a/tccgen.c b/tccgen.c index f875e51a..2885f3e3 100644 --- a/tccgen.c +++ b/tccgen.c @@ -5878,7 +5878,7 @@ static void skip_or_save_block(TokenString **str) if (str) *str = tok_str_alloc(); - while ((level > 0 || (tok != '}' && tok != ',' && tok != ';'))) { + while ((level > 0 || (tok != '}' && tok != ',' && tok != ';' && tok != ')'))) { int t; if (tok == TOK_EOF) { if (str || level > 0)