Program: 169131
Project: 169131
Buggy source:
public final druidGParser.isoTime_return isoTime() throws RecognitionException {
  druidGParser.isoTime_return retval=new druidGParser.isoTime_return();
  retval.start=input.LT(1);
  Token d=null;
  try {
    int alt134=7;
switch (input.LA(1)) {
case DATE:
{
        alt134=1;
      }
    break;
case DATE_HOUR:
{
    alt134=2;
  }
break;
case DATE_HOUR_MIN:
{
alt134=3;
}
break;
case DATE_HOUR_MIN_SEC:
{
alt134=4;
}
break;
case DATE_HOUR_MIN_SEC_SUB:
{
alt134=5;
}
break;
case DATE_HOUR_MIN_SEC_SUB_TZ:
{
alt134=6;
}
break;
case DATE_HOUR_MIN_SEC_SUB_UTC_TZ:
{
alt134=7;
}
break;
default :
NoViableAltException nvae=new NoViableAltException("String_Node_Str",134,0,input);
throw nvae;
}
switch (alt134) {
case 1:
{
d=(Token)match(input,DATE,FOLLOW_DATE_in_isoTime2419);
retval.date=(d != null ? d.getText() : null);
}
break;
case 2:
{
d=(Token)match(input,DATE_HOUR,FOLLOW_DATE_HOUR_in_isoTime2427);
retval.date=(d != null ? d.getText() : null);
}
break;
case 3:
{
d=(Token)match(input,DATE_HOUR_MIN,FOLLOW_DATE_HOUR_MIN_in_isoTime2435);
retval.date=(d != null ? d.getText() : null);
}
break;
case 4:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC,FOLLOW_DATE_HOUR_MIN_SEC_in_isoTime2443);
retval.date=(d != null ? d.getText() : null);
}
break;
case 5:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC_SUB,FOLLOW_DATE_HOUR_MIN_SEC_SUB_in_isoTime2451);
retval.date=(d != null ? d.getText() : null);
}
break;
case 6:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC_SUB_TZ,FOLLOW_DATE_HOUR_MIN_SEC_SUB_TZ_in_isoTime2459);
retval.date=(d != null ? d.getText() : null);
}
break;
case 7:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC_SUB_UTC_TZ,FOLLOW_DATE_HOUR_MIN_SEC_SUB_UTC_TZ_in_isoTime2467);
retval.date=(d != null ? d.getText() : null);
}
break;
}
retval.stop=input.LT(-1);
}
 catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
 finally {
}
return retval;
}

Fixed version (ground truth):
public final druidGParser.isoTime_return isoTime() throws RecognitionException {
  druidGParser.isoTime_return retval=new druidGParser.isoTime_return();
  retval.start=input.LT(1);
  Token d=null;
  try {
    int alt135=7;
switch (input.LA(1)) {
case DATE:
{
        alt135=1;
      }
    break;
case DATE_HOUR:
{
    alt135=2;
  }
break;
case DATE_HOUR_MIN:
{
alt135=3;
}
break;
case DATE_HOUR_MIN_SEC:
{
alt135=4;
}
break;
case DATE_HOUR_MIN_SEC_SUB:
{
alt135=5;
}
break;
case DATE_HOUR_MIN_SEC_SUB_TZ:
{
alt135=6;
}
break;
case DATE_HOUR_MIN_SEC_SUB_UTC_TZ:
{
alt135=7;
}
break;
default :
NoViableAltException nvae=new NoViableAltException("String_Node_Str",135,0,input);
throw nvae;
}
switch (alt135) {
case 1:
{
d=(Token)match(input,DATE,FOLLOW_DATE_in_isoTime2450);
retval.date=(d != null ? d.getText() : null);
}
break;
case 2:
{
d=(Token)match(input,DATE_HOUR,FOLLOW_DATE_HOUR_in_isoTime2458);
retval.date=(d != null ? d.getText() : null);
}
break;
case 3:
{
d=(Token)match(input,DATE_HOUR_MIN,FOLLOW_DATE_HOUR_MIN_in_isoTime2466);
retval.date=(d != null ? d.getText() : null);
}
break;
case 4:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC,FOLLOW_DATE_HOUR_MIN_SEC_in_isoTime2474);
retval.date=(d != null ? d.getText() : null);
}
break;
case 5:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC_SUB,FOLLOW_DATE_HOUR_MIN_SEC_SUB_in_isoTime2482);
retval.date=(d != null ? d.getText() : null);
}
break;
case 6:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC_SUB_TZ,FOLLOW_DATE_HOUR_MIN_SEC_SUB_TZ_in_isoTime2490);
retval.date=(d != null ? d.getText() : null);
}
break;
case 7:
{
d=(Token)match(input,DATE_HOUR_MIN_SEC_SUB_UTC_TZ,FOLLOW_DATE_HOUR_MIN_SEC_SUB_UTC_TZ_in_isoTime2498);
retval.date=(d != null ? d.getText() : null);
}
break;
}
retval.stop=input.LT(-1);
}
 catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
 finally {
}
return retval;
}