Improve warnings for $ in (()). Also improves array subscripts.