Check left and right parentheses pair.

Check left and right parentheses pair.