diff options
author | Bruno Haible <bruno@clisp.org> | 2023-03-14 12:59:22 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-03-14 13:10:10 +0100 |
commit | 0458d3efda00e9fd940675a8f64deda1ee5e688a (patch) | |
tree | e0fd4f2816af039f747a3f870be3eab210a805fa /gettext-tools/examples/hello-c++/po/Makevars | |
parent | fa2fbdbcbf359dfb024467d698f2d8732527f97c (diff) | |
download | gettext-0458d3efda00e9fd940675a8f64deda1ee5e688a.tar.gz |
xgettext: In language Tcl, support \x, \u, \U escapes as specified in Tcl 8.6.
* gettext-tools/src/x-tcl.c: Update comments.
(phase1_pushback): Increase size to 5.
(do_getc_escaped): For \x, parse only up to 2 hexadecimal characters.
Handle '\U'.
(do_getc_escaped_low_surrogate): New function.
(accumulate_word): After reading a high surrogate, see if it is followed by a
low surrogate.
* gettext-tools/tests/xgettext-tcl-4: Change expected outcome for \x. Add test
cases for \u with surrogates and for \U.
* gettext-tools/tests/xgettext-tcl-5: Add more test cases.
* NEWS: Mention the change.
Diffstat (limited to 'gettext-tools/examples/hello-c++/po/Makevars')
0 files changed, 0 insertions, 0 deletions