Fix error message line of undefined parser