diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-02 21:54:38 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-02 21:54:38 -0400 |
| commit | 5a78eb61c876f73f6ed6bb3d631e0edc065026db (patch) | |
| tree | d8912da32ee4b4ac489ccea6b4ad586dfbb8f3a5 /compile.c | |
| parent | 96f276ec18585cd651031800298216be0f041434 (diff) | |
Bugfix for hex escapes adjacent to hex-like characters
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1804,7 +1804,7 @@ CORD compile(env_t *env, ast_t *ast) if (isprint(c)) code = CORD_cat_char(code, c); else - CORD_sprintf(&code, "%r\\x%02X", code, (uint8_t)c); + CORD_sprintf(&code, "%r\"\"\\x%02X\"\"", code, (uint8_t)c); break; } } |
