The modern notation contains a very similar 'ambiguity'. Compare: x---y, x-- - y, and x - --y.
x - (--y)
or (x--) - yx---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.