Throw error when non-associative operators are next to each other