/* Extract messages until the next balanced closing parenthesis.
Extracted messages are added to MLP.
+ DELIM can be either token_type_rbrace, token_type_rbracket,
+ token_type_rparen.
+
ARG is the current argument list position, starts with 1.
ARGPARSER is the corresponding argument list parser.
flag_context_list_iterator_ty context_iter,
int arg, struct arglist_parser *argparser)
{
- /* Number of left parentheses seen. */
- int paren_seen = 0;
-
/* Whether to implicitly assume the next tokens are arguments even without
a '('. */
bool next_is_argument = false;
fprintf (stderr, "%s:%d: type left parentheses (%d)\n",
logical_file_name, tp->line_number, nesting_level);
#endif
- ++paren_seen;
-
if (extract_balanced (mlp, state, token_type_rparen,
inner_context, next_context_iter,
arg, arglist_parser_clone (argparser)))
fprintf (stderr, "%s:%d: type right parentheses(%d)\n",
logical_file_name, tp->line_number, nesting_level);
#endif
- --paren_seen;
next_is_argument = false;
next_context_iter = null_context_list_iterator;
break;