parse error with position information