Files
tinycc/tests
Petr Skocik ffb95c2e0c Better handling of UCNs in strings
As the standard requires, take 4 hex digits after the \u opener of a
Universal Character Name, or take 8 hex digits after \U, but reject
smaller counts and don't consume more (https://port70.net/~nsz/c/c11/n1570.html#6.4.3,
https://port70.net/~nsz/c/c99/n1256.html#6.4.3).

The unicode codepoint used to get truncated to 1 byte. Now it gets expanded into UTF-8,
matching gcc & clang behavior on Linux.

TODO: Universal character names should also be supported in identifiers,
as in, e.g., char \u010dau_sv\u011bte[]="čau_světe";
2021-01-18 00:49:24 +01:00
..
2020-12-16 17:52:59 +01:00
2021-01-18 00:49:24 +01:00
2017-09-24 18:03:26 -07:00
2020-12-16 17:52:59 +01:00
2020-12-16 17:52:59 +01:00
2017-12-03 04:53:50 +01:00
2021-01-12 18:06:23 +01:00
2020-09-17 09:11:10 +02:00
2020-07-05 14:01:50 +02:00
2021-01-16 07:01:59 +01:00
2016-12-15 17:47:08 +01:00
2016-10-01 20:27:41 +02:00