zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a (tree)
parent e72a8ed5a10539b03c5dfbf5f230322664e3d275
Author: Loris Cro <kappaloris@gmail.com>
Date:   Fri,  2 Sep 2022 18:13:17 +0200

autodoc: fix stage2 compile error

Diffstat:
Msrc/Autodoc.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Autodoc.zig b/src/Autodoc.zig @@ -4227,7 +4227,7 @@ fn srcLocInfo( const tok_idx = tokens[node_idx]; const start = tree.tokens.items(.start)[tok_idx]; const loc = tree.tokenLocation(parent_src.bytes, tok_idx); - return .{ + return SrcLocInfo{ .line = parent_src.line + loc.line, .bytes = start, .src_node = sn,