# tapi: sync with upstream · gitcafe/zig

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

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

Visibility: public

Requested revision: e498fb155051f548071da1a13098b8793f527275

Requested commit: e498fb155051f548071da1a13098b8793f527275

Commit: e498fb155051f548071da1a13098b8793f527275

Tree: 5de7394cce91394c83beeeeb9486e81a37650aa0

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
tapi: sync with upstream

gitrev kubkon/zig-yaml 8cf8dc3bb901fac8189f441392fc0989ad14cf71

Calculate line and col info indexed by token index. We can then
re-use this info to track current column number (aka indentation
level) of each "key:value" pair (map) or "- element" (list).
This significantly cleans up the code, and leads naturally to
handling of unindented lists in tbd files.

```

## Parents

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

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