Closed JarrettBillingsley closed 10 years ago
Derp. This doesn't really solve it, since then you can't write a && b && c
or a || b || c
. Then.... what DOES need to happen?
Maybe, then, if it parses an && or ||, then it will only allow subsequent &&s and ||s.
It bugs the hell out of me when I forget to put parentheses in the right places and the compiler eats it but spits out stupid code that doesn't do the right thing. Putting them at the same level makes it an error to forget the parentheses.