mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
autodoc: Add gathering of top-level doc comments for imported files
This commit is contained in:
parent
4bfd37ddb4
commit
c40a1ee224
@ -996,6 +996,12 @@ fn walkInstruction(
|
||||
};
|
||||
}
|
||||
|
||||
const maybe_tldoc_comment = try self.getTLDocComment(new_file.file);
|
||||
try self.ast_nodes.append(self.arena, .{
|
||||
.name = path,
|
||||
.docs = maybe_tldoc_comment,
|
||||
});
|
||||
|
||||
result.value_ptr.* = self.types.items.len;
|
||||
|
||||
var new_scope = Scope{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user