]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: PHP: Revert recently introduced code duplication.
authorBruno Haible <bruno@clisp.org>
Thu, 26 Sep 2024 12:03:46 +0000 (14:03 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Sep 2024 12:03:46 +0000 (14:03 +0200)
commit9cf2bc60b8c51a1d43b462e53297cbf00cc82ee5
treec6f4ec8ade73d926463dc78e34c1d5f76a52d840
parent63709a20897369ca8d2cebf8a7d1f9f51ae9e359
xgettext: PHP: Revert recently introduced code duplication.

* gettext-tools/src/x-php.c (process_dquote_or_heredoc): New function, extracted
from process_heredoc.
(process_heredoc): Allocate a php_extractor on the stack. Invoke
process_dquote_or_heredoc.
(phase4_get): Invoke process_dquote_or_heredoc.
gettext-tools/src/x-php.c