Issue 8648 - No error line number with incomplete template

http://d.puremagic.com/issues/show_bug.cgi?id=8648