# translate-c: avoid producing duplicate macro errors · gitcafe/zig

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

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

Visibility: public

Requested revision: a3f741e9b8df564f070df0f05ada4875e9118b18

Requested commit: a3f741e9b8df564f070df0f05ada4875e9118b18

Commit: a3f741e9b8df564f070df0f05ada4875e9118b18

Tree: 11030ab3ec82bc326e8a6e8f437e481f0099cde4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
translate-c: avoid producing duplicate macro errors

This input file, for example, would produce duplicate identifiers
in the translated Zig code:

```
  #define bar err(
  #define bar err(
```

````

## Parents

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

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