# AstGen: reset source cursor before generating pointer attributes · gitcafe/zig

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

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

Visibility: public

Requested revision: 14f03fbd1602dae8fcaa5da42f5769422d1c4a7a

Requested commit: 14f03fbd1602dae8fcaa5da42f5769422d1c4a7a

Commit: 14f03fbd1602dae8fcaa5da42f5769422d1c4a7a

Tree: 5efe70f435efc79416b4b8a7a25fbabb0aa4419f

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
AstGen: reset source cursor before generating pointer attributes

These attributes can appear in any order but AstGen expects the source
cursor to be incremented in a monotonically increasing order.

Closes #14332

```

## Parents

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

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