3 ms·
And sadly x-----y won't parse :(
by mburee 4y ago
And sadly x-----y won't parse :(
- krylon 4y agoIt's been a while I used C, but I for one am kind of glad that doesn't parse. If you need to do this, you can use parentheses: x - (--y) or (x--) - y
- tom_ 4y agoAll parse fine, and unambiguously, due to the maximal munch rule. x---y is (x--)-y, which is semantically valid. x-----y is ((x--)--)-y - but it's a semantic error, as x-- is not an lvalue.