# cbe: fix bug where empty enum would be generated · gitcafe/zig

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

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

Visibility: public

Requested revision: ce859cfcb8c87b83c55209b5321ee86b9e5e80a7

Requested commit: ce859cfcb8c87b83c55209b5321ee86b9e5e80a7

Commit: ce859cfcb8c87b83c55209b5321ee86b9e5e80a7

Tree: 22090be1a2cb5796a881d8ca441aaf44da151ef8

Author: notcancername

Committer: Jacob Young

## Message

```
cbe: fix bug where empty enum would be generated

fix a bug where an invalid empty enum would be emitted into the C
source file if the global error set was empty.

```

## Parents

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

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