mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
autodoc: fix stage2 compile error
This commit is contained in:
parent
e72a8ed5a1
commit
4a08c6dd51
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user