# AstGen: implement global var decls · gitcafe/zig

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

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

Visibility: public

Requested revision: 9375ad0d3b5e97fa2889622862dbc4724b9e9243

Requested commit: 9375ad0d3b5e97fa2889622862dbc4724b9e9243

Commit: 9375ad0d3b5e97fa2889622862dbc4724b9e9243

Tree: ea33250955825b026055467316e97fc0538be68b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: implement global var decls

And fix bug with using `ensureCapacity` when I wanted
`ensureUnusedCapacity`.

```

## Parents

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

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