# fix regression in AST node iteration · gitcafe/zig

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

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

Visibility: public

Requested revision: 1c0b7ddda8bfabc9274f0d3bcb79be8eb8869f36

Requested commit: 1c0b7ddda8bfabc9274f0d3bcb79be8eb8869f36

Commit: 1c0b7ddda8bfabc9274f0d3bcb79be8eb8869f36

Tree: bbeb746c148efb2382fe2042604c072a3fec0060

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix regression in AST node iteration

the new iteration code caused an integer underflow for function
prototypes with no parameters. now fixed.

```

## Parents

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

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