# translate-c: comma operator should introduce a new scope · gitcafe/zig

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

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

Visibility: public

Requested revision: d98f09e4f67fb2848be6052466db035450326605

Requested commit: d98f09e4f67fb2848be6052466db035450326605

Commit: d98f09e4f67fb2848be6052466db035450326605

Tree: 736c6f57967ddaaa9e386026d0114c66c1dba5fd

Author: Evan Haas

Committer: Veikka Tuominen

## Message

```
translate-c: comma operator should introduce a new scope

This prevents inadvertent side-effects when an expression is not evaluated
due to boolean short-circuiting

Fixes #7989

```

## Parents

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

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