diff options
| author | Loris Cro <kappaloris@gmail.com> | 2022-09-02 18:13:17 +0200 |
|---|---|---|
| committer | Loris Cro <kappaloris@gmail.com> | 2022-09-02 18:13:17 +0200 |
| commit | 4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a (patch) | |
| tree | aa2160a7936f336b861883810d5d8f72e6d82628 /src | |
| parent | e72a8ed5a10539b03c5dfbf5f230322664e3d275 (diff) | |
| download | zig-4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a.tar.gz zig-4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a.zip | |
autodoc: fix stage2 compile error
Diffstat (limited to 'src')
| -rw-r--r-- | src/Autodoc.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Autodoc.zig b/src/Autodoc.zig index 33943a3066..e6d9c843de 100644 --- 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, |
