if ( token.kind == BEGIN || token.kind == IF || token.kind == CASE )
if ( token.kind == BEGIN || token.kind == IF || token.kind == CASE || token.kind == LOOP )
  void skipEnd() throws ParseException {        Token token ;        int nesting = 1 ;        for(;;)        {                token = getToken( 1 );                if ( token.kind == EOF )                        throw new ParseException("unexpected EOF");                if ( token.kind == BEGIN || token.kind == IF || token.kind == CASE )                        nesting++;                if ( token.kind == END )                {                        nesting--;                        if ( nesting == 0 )                                break;                        else                                getNextToken(); // if or case                }                getNextToken();        }  }