# stage2: Remove special double ampersand parsing case \(\#9114\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 00982f75e92119aac6182ab9876adfb13305d1ed

Requested commit: 00982f75e92119aac6182ab9876adfb13305d1ed

Commit: 00982f75e92119aac6182ab9876adfb13305d1ed

Tree: 6ee0b5c6964620a1263eb44498bf1905e20915ec

Author: Dmitry Matveyev

Committer: GitHub

## Message

```
stage2: Remove special double ampersand parsing case (#9114)

* Remove parser error on double ampersand

* Add failing test for double ampersand case

* Add error when encountering double ampersand in AstGen

"Bit and" operator should not make sense when one of its operands
is an address.

* Check that 2 ampersands are adjacent to each other in source string

* Remove cases of unused variables in tests
```

## Parents

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

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