# translate-c: allow str literals in bool expressions · gitcafe/zig

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

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

Visibility: public

Requested revision: 05d9755766e45e454a16440bfc9f98abef992247

Requested commit: 05d9755766e45e454a16440bfc9f98abef992247

Commit: 05d9755766e45e454a16440bfc9f98abef992247

Tree: 8df2c9139d92760d80944e278db5dae20fc2eb3f

Author: travisstaloch

Committer: GitHub

## Message

```
translate-c: allow str literals in bool expressions

this is a follow up to #19610 with fix suggested by Vexu in
https://github.com/ziglang/zig/issues/14642#issuecomment-2048999384
```

## Parents

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

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