# autodoc: correct line number implementation · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/081d5a96907ca844dcbfed0fce32b7ea29d933ab)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 081d5a96907ca844dcbfed0fce32b7ea29d933ab

Requested commit: 081d5a96907ca844dcbfed0fce32b7ea29d933ab

Commit: 081d5a96907ca844dcbfed0fce32b7ea29d933ab

Tree: 9ae0c01cd28ce6181cf07ca879b7e00dd2f91294

Author: Loris Cro

Committer: Loris Cro

## Message

```
autodoc: correct line number implementation

we also correctly take advantage of the starting byte offset of the
parent decl when calling `tree.tokenLocation()`!

```

## Parents

- [5581b60393cd03773945f773942a8dcfbaffb5e8](https://git.cafe/gitcafe/zig/commit/5581b60393cd03773945f773942a8dcfbaffb5e8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/081d5a96907ca844dcbfed0fce32b7ea29d933ab?format=markdown)
