Re: support C/C++ identifiers named with non-ASCII characters

Pedro Alves
2018-05-22T14:50:14Z

On 05/22/2018 03:32 PM, å¼µä¿ŠèŠ wrote:
>
> Pedro Alves æ–¼ 2018/5/22 ä¸‹åˆ10:15 å¯«é“:
>>
>> I actually already started writing a patch for this a few months
>> back, including a C testcase, after these discussions:
>>
>> Â Â  https://sourceware.org/ml/gdb-patches/2017-11/msg00428.html
>> Â Â  https://sourceware.org/ml/gdb/2017-11/msg00022.html
>>
>> Let me try to find it.Â  I don't recall exactly where I left off,
>> but I think I had something working.
>
> I just started writing a test case when I saw your letter.
>
> Could you shed light on how you delimit identifiers in your patch, Pedro? Does it check all invalid non-ASCII characters, is it dedicated to some encoding such as UTF-8, or to any encodings?

I found the patch. Let me rebase it and send it / post it. It'll
be easier to just look at the patch.

Thanks,
Pedro Alves