void error_skipto(int kind) throws ParseException {ParseException e = generateParseException(); System.out.println(e.toString()); Token t; do { t = getNextToken(); } while (t.kind != kind && t.kind != EOF); }
void error_skipto(int kind) throws ParseException {ParseException e = generateParseException(); System.out.println(e.toString()); Token t; do { t = getNextToken(); } while (t.kind != kind && t.kind != EOF); }