aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorEvan Haas <evan@lagerdata.com>2022-09-08 20:19:10 -0700
committerVeikka Tuominen <git@vexu.eu>2022-09-10 01:50:17 +0300
commit8e631ee3e7b4e7b4466c0efafaffb4151447785f (patch)
tree1873bad537882c07d240b8ceed55e0221f81705c /src/type.zig
parent9e070b653c89a9216f9dd9f78ed7c78c11460ac7 (diff)
downloadzig-8e631ee3e7b4e7b4466c0efafaffb4151447785f.tar.gz
zig-8e631ee3e7b4e7b4466c0efafaffb4151447785f.zip
translate-c: Escape non-ASCII characters that appear in macros
Macro definitions are simply a slice of bytes, which may not be UTF-8 encoded. If they are not UTF-8 encoded, escape non-printable and non-ASCII characters as `\xNN`. Fixes #12784
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions