Scanner prints lexical errors to err.