Program: 96739
Project: 96739
Buggy source:
public final ApplicabilityGrammarParser.config_applicability_return config_applicability() throws RecognitionException {
  ApplicabilityGrammarParser.config_applicability_return retval=new ApplicabilityGrammarParser.config_applicability_return();
  retval.start=input.LT(1);
  CommonTree root_0=null;
  Token string_literal5=null;
  Token char_literal7=null;
  ApplicabilityGrammarParser.config_expressions_return config_expressions6=null;
  CommonTree string_literal5_tree=null;
  CommonTree char_literal7_tree=null;
  try {
{
      root_0=(CommonTree)adaptor.nil();
      string_literal5=(Token)match(input,8,FOLLOW_8_in_config_applicability118);
      string_literal5_tree=(CommonTree)adaptor.create(string_literal5);
      adaptor.addChild(root_0,string_literal5_tree);
      int cnt2=0;
      loop2:       do {
        int alt2=2;
        int LA2_0=input.LA(1);
        if (((LA2_0 >= OR && LA2_0 <= ID))) {
          alt2=1;
        }
switch (alt2) {
case 1:
{
            pushFollow(FOLLOW_config_expressions_in_config_applicability120);
            config_expressions6=config_expressions();
            state._fsp--;
            adaptor.addChild(root_0,config_expressions6.getTree());
          }
        break;
default :
      if (cnt2 >= 1)       break loop2;
    EarlyExitException eee=new EarlyExitException(2,input);
  throw eee;
}
cnt2++;
}
 while (true);
char_literal7=(Token)match(input,9,FOLLOW_9_in_config_applicability123);
char_literal7_tree=(CommonTree)adaptor.create(char_literal7);
adaptor.addChild(root_0,char_literal7_tree);
}
retval.stop=input.LT(-1);
retval.tree=(CommonTree)adaptor.rulePostProcessing(root_0);
adaptor.setTokenBoundaries(retval.tree,retval.start,retval.stop);
}
 catch (RecognitionException re) {
reportError(re);
recover(input,re);
retval.tree=(CommonTree)adaptor.errorNode(input,retval.start,input.LT(-1),re);
}
 finally {
}
return retval;
}

Fixed version (ground truth):
public final ApplicabilityGrammarParser.config_applicability_return config_applicability() throws RecognitionException {
  ApplicabilityGrammarParser.config_applicability_return retval=new ApplicabilityGrammarParser.config_applicability_return();
  retval.start=input.LT(1);
  CommonTree root_0=null;
  Token string_literal5=null;
  Token char_literal7=null;
  ApplicabilityGrammarParser.config_expressions_return config_expressions6=null;
  CommonTree string_literal5_tree=null;
  CommonTree char_literal7_tree=null;
  try {
{
      root_0=(CommonTree)adaptor.nil();
      string_literal5=(Token)match(input,8,FOLLOW_8_in_config_applicability118);
      string_literal5_tree=(CommonTree)adaptor.create(string_literal5);
      adaptor.addChild(root_0,string_literal5_tree);
      int cnt2=0;
      loop2:       do {
        int alt2=2;
        int LA2_0=input.LA(1);
        if (((LA2_0 >= OR && LA2_0 <= ID))) {
          alt2=1;
        }
switch (alt2) {
case 1:
{
            pushFollow(FOLLOW_config_expressions_in_config_applicability120);
            config_expressions6=config_expressions();
            state._fsp--;
            adaptor.addChild(root_0,config_expressions6.getTree());
          }
        break;
default :
      if (cnt2 >= 1) {
        break loop2;
      }
    EarlyExitException eee=new EarlyExitException(2,input);
  throw eee;
}
cnt2++;
}
 while (true);
char_literal7=(Token)match(input,9,FOLLOW_9_in_config_applicability123);
char_literal7_tree=(CommonTree)adaptor.create(char_literal7);
adaptor.addChild(root_0,char_literal7_tree);
}
retval.stop=input.LT(-1);
retval.tree=(CommonTree)adaptor.rulePostProcessing(root_0);
adaptor.setTokenBoundaries(retval.tree,retval.start,retval.stop);
}
 catch (RecognitionException re) {
reportError(re);
recover(input,re);
retval.tree=(CommonTree)adaptor.errorNode(input,retval.start,input.LT(-1),re);
}
 finally {
}
return retval;
}