Fix for math expr/ops error messages line/column numbers.

Fixes #1713.