+2008-08-16 Bruno Haible <bruno@clisp.org>
+
+ * x-php.c (extract_balanced): Fix small bug in 2007-03-17 commit.
+
2008-08-15 Bruno Haible <bruno@clisp.org>
* format-python.c (format_parse): For %.0s and %.0r, set the type to
/* xgettext PHP backend.
- Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2008 Free Software Foundation, Inc.
This file was written by Bruno Haible <bruno@clisp.org>, 2002.
Extracted messages are added to MLP.
DELIM can be either token_type_rparen or token_type_rbracket, or
token_type_eof to accept both.
- Return true upon eof, false upon closing parenthesis. */
+ Return true upon eof, false upon closing parenthesis or bracket. */
static bool
extract_balanced (message_list_ty *mlp,
token_type_ty delim,
arglist_parser_done (argparser, arg);
return true;
}
+ next_context_iter = null_context_list_iterator;
+ state = 0;
+ continue;
case token_type_rbracket:
if (delim == token_type_rbracket || delim == token_type_eof)