# AstGen: Re-allow labeled \`break\` from loop \`else\` block targeting its label · gitcafe/zig

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

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

Visibility: public

Requested revision: bce7e7a52ba4dd9b46184925547b40ecedee63b6

Requested commit: bce7e7a52ba4dd9b46184925547b40ecedee63b6

Commit: bce7e7a52ba4dd9b46184925547b40ecedee63b6

Tree: 2735a8f54e9f93f498899a2010101b66ab0b97dc

Author: Justus Klausecker

Committer: Matthew Lugg

## Message

```
AstGen: Re-allow labeled `break` from loop `else` block targeting its label

This fixes a regression from a couple of commits ago; breaking from the
`else` block of a loop to the loop's tag should be allowed when explicitly
targeting the label by name.

```

## Parents

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

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