WyC: fixed problem with reporting lexer based syntax errors.