Re: [PATCH 5/5] Handle non-ASCII identifiers in Ada

Tom Tromey via Gdb-patches
2022-02-28T20:59:58Z

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Mon, 28 Feb 2022 11:33:04 -0700
>> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
>> Cc: Tom Tromey <tromey@adacore.com>
>>
>> +for c in range(0, 0x10FFFF):
>> + process_codepoint(c)

Eli> This script assumes that the version of Python which will run it is
Eli> up-to-date with the latest Unicode Character Database (UCD), right?
Eli> Is that a good assumption? Wouldn't it be better to process the UCD
Eli> from the latest Unicode Standard directly?

Ordinarily, yes, but in practice the Ada compiler uses quite old data,
and so whatever is provided by a recent-ish Python is more than good
enough.

If the Ada compiler is changed, I'll update the script. I suspect this
won't happen, though.

Tom