From: Jérémie Astor Date: Tue, 15 Dec 2020 11:52:01 +0000 (+0100) Subject: :art: Improve escape sequences X-Git-Tag: nightly~1105^2~8 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0cec47d9db541500378083407fbf1add2c072f27;p=gwion.git :art: Improve escape sequences --- diff --git a/src/emit/escape.c b/src/emit/escape.c index 62d0ce79..c7cb9cd4 100644 --- a/src/emit/escape.c +++ b/src/emit/escape.c @@ -50,7 +50,7 @@ m_bool escape_str(const Emitter emit, const m_str base, const loc_t pos) { return GW_ERROR; } } - } else if(c == 'x') { + } else if(c == 'x' || c == 'x' || c == 'u' || c == 'U') { ++str_lit; const unsigned char c1 = *(str_lit); const unsigned char c3 = *(str_lit+1);