From: Jérémie Astor Date: Sat, 30 Apr 2022 17:06:41 +0000 (+0200) Subject: :art: Small esape fix X-Git-Tag: nightly~275^2~11 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f536033eab046128b83c035092183bb97e76325f;p=gwion.git :art: Small esape fix --- diff --git a/src/emit/escape.c b/src/emit/escape.c index d58b15d9..8a5b4132 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' || c == 'x' || c == 'u' || c == 'U') { + } 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);