# zig reduce: run results through astgen · gitcafe/zig

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

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

Visibility: public

Requested revision: 75efb736ce704fc43bdbe2410989c2b275d855e6

Requested commit: 75efb736ce704fc43bdbe2410989c2b275d855e6

Commit: 75efb736ce704fc43bdbe2410989c2b275d855e6

Tree: 9601aa3c7293a4791f0451a9a99a2319876e2fb0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig reduce: run results through astgen

and use that to fix up usused variable declarations and parameters that
are caused by transformations.

also add a transformation to replace global variable init with
`undefined`.

```

## Parents

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

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