aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorLoris Cro <kappaloris@gmail.com>2022-06-09 21:20:25 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-07-19 19:10:12 -0700
commitdd4bd55ef6891109f3a462369a3430d11d5db4ee (patch)
tree58e1a95a870307c9f52956568309b557f556cc05 /src/stage1/codegen.cpp
parent45e3b1a23df6f0f0174b277194b5301662d7c256 (diff)
downloadzig-dd4bd55ef6891109f3a462369a3430d11d5db4ee.tar.gz
zig-dd4bd55ef6891109f3a462369a3430d11d5db4ee.zip
autodoc: rework json printing code
We're now using `std.json.writeStream`, which makes our prints correct in terms of escapes and also reduces the amount of json-related code. Unfortunately, we have to mess around with the json stream writer state whenever we end up using `std.json.stringify` for convenience.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions