tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Better support of universal-character-names in strings


From: Petr Skocik
Subject: [Tinycc-devel] Better support of universal-character-names in strings
Date: Mon, 18 Jan 2021 01:14:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi, I've pushed a patch improving handling of universal character names
in strings.

char cau_svete_ucns[]="\u010dau_sv\u011bte";

is now equal to

char cau_svete_utf8[]="čau_světe";

C>=C99 also requires support for such escape sequences even in
identifiers (the support is indeed present in gcc and clang), requiring
compilability  even for things like `char \u010dau_sv\u011bte[];`. The
last bit I haven't done.

Cheers,

Petr Skocik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]