Correct parsing of the arithmetic expression inside [].