]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: PHP: Stop recognizing ASP tags <% and %> (removed in PHP 7.0).
authorBruno Haible <bruno@clisp.org>
Tue, 19 Nov 2024 17:03:45 +0000 (18:03 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 19 Nov 2024 17:03:45 +0000 (18:03 +0100)
commit35f408fd83e76f732477eff394c9ef5e1ba31abb
tree885047ed2ba9bff76d180a16c5fe75c2500d5dcd
parent59a82e1e1c103896f575b2c47ca216b67ff8e534
xgettext: PHP: Stop recognizing ASP tags <% and %> (removed in PHP 7.0).

Reported by David Robinson <dave@netterra.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2021-10/msg00000.html>.

* gettext-tools/src/x-php.c (skip_html): Don't recognize '<%' and '<%='
any more.
(phase2_getc, phase3_getc, phase4_get): In comments, don't treat '%>' like '?>'
any more.
gettext-tools/src/x-php.c