rewrite parts of parseExpr to use parseSingleExpr