# std.zig.ast: extract out Node.LabeledBlock from Node.Block · gitcafe/zig

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

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

Visibility: public

Requested revision: 9a5a1013a833229e1d12588615c1a05644f76cc5

Requested commit: 9a5a1013a833229e1d12588615c1a05644f76cc5

Commit: 9a5a1013a833229e1d12588615c1a05644f76cc5

Tree: c8a1cca2e5324891a4f748b3fd38c0f65ef78d03

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.zig.ast: extract out Node.LabeledBlock from Node.Block

This is part of an ongoing effort to reduce size of in-memory AST. This
enum flattening pattern is widespread throughout the self-hosted
compiler.

This is a API breaking change for consumers of the self-hosted parser.

```

## Parents

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

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