From 0cec47d9db541500378083407fbf1add2c072f27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 15 Dec 2020 12:52:01 +0100 Subject: [PATCH] :art: Improve escape sequences --- src/emit/escape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0