final public void library_unit(Context c) throws ParseException {
    if (jj_2_1(2147483647)) {
      primary_unit(c);
    } else {
      switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      case ARCHITECTURE:
      case PACKAGE:
        secondary_unit(c);
        break;
      default:
        jj_la1[5] = jj_gen;
        jj_consume_token(-1);
        throw new ParseException();
      }
    }
  }