final public void wait_statement() throws ParseException {
    if (jj_2_66(2147483647)) {
      jj_consume_token(151);
      identifier();
      jj_consume_token(151);
    } else {
      ;
    }
    jj_consume_token(WAIT);
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case ON:
      sensitivity_clause();
      break;
    default:
      jj_la1[163] = jj_gen;
      ;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case UNTIL:
      condition_clause();
      break;
    default:
      jj_la1[164] = jj_gen;
      ;
    }
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case FOR:
      timeout_clause();
      break;
    default:
      jj_la1[165] = jj_gen;
      ;
    }
    jj_consume_token(SEMICOLON);
  }