improve lexer error message

Original got the line number wrong, as well as not showing the offending string.