Open chrchr-github opened 5 months ago
&= is tokenized as & =:
&=
& =
int g(int i, int j) { return h(i &= ~j, i &= j); }
// don't combine &= if it is a anonymous reference parameter with default value: // void f(x&=2)
Also happens in C++ code. This compiles: void f(const int& = 2); This does not: void f(const int &= 2);
void f(const int& = 2);
void f(const int &= 2);
&=
is tokenized as& =
:Also happens in C++ code. This compiles:
void f(const int& = 2);
This does not:void f(const int &= 2);