mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
docgen: syntax blocks don't actually run the code
This commit is contained in:
1 parent
f5553bfefc
commit
f4d3d29f92
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user