mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
docgen: syntax blocks don't actually run the code
This commit is contained in:
parent
f5553bfefc
commit
f4d3d29f92
1 changed files with 1 additions and 1 deletions
|
|
@ -1100,7 +1100,7 @@ fn genHtml(
|
||||||
try tokenizeAndPrint(allocator, tokenizer, out, code.source_token);
|
try tokenizeAndPrint(allocator, tokenizer, out, code.source_token);
|
||||||
try out.writeAll("</pre>");
|
try out.writeAll("</pre>");
|
||||||
|
|
||||||
if (!do_code_tests) {
|
if (!do_code_tests or code.is_inline) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue