Better error reporting.
Fix bug to subscripted expressions.