pass the yyloc (.loc) location info to lexer parseError handlers, just like we do already for parser-based parseError()s.
clean of EOF forgot to clean the .matches[] and .yyleng attributes.