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

2021-01-17 Thread Christian Jullien
Hi Petr, Is there a reason why you removed \n in 97 tests? Without it this test fails on some systems we are working on, like OpenBSD. Can you please confirm and apply this patch which fix the issue on OpenBSD? diff --git a/tests/tests2/97_utf8_string_literal.c b/tests/tests2/97_utf8_string_lit

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

2021-01-17 Thread Petr Skocik
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 an