/[pcre]/code/trunk/pcregrep.c
ViewVC logotype

Diff of /code/trunk/pcregrep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 141 by ph10, Fri Mar 30 15:46:27 2007 UTC revision 142 by ph10, Fri Mar 30 15:55:18 2007 UTC
# Line 1408  sprintf(buffer, "%s%.*s%s", prefix[proce Line 1408  sprintf(buffer, "%s%.*s%s", prefix[proce
1408    suffix[process_options]);    suffix[process_options]);
1409  pattern_list[pattern_count] =  pattern_list[pattern_count] =
1410    pcre_compile(buffer, options, &error, &errptr, pcretables);    pcre_compile(buffer, options, &error, &errptr, pcretables);
1411  if (pattern_list[pattern_count] != NULL)  if (pattern_list[pattern_count] != NULL)
1412    {    {
1413    pattern_count++;    pattern_count++;
1414    return TRUE;    return TRUE;
1415    }    }
1416    
1417  /* Handle compile errors */  /* Handle compile errors */
1418    
# Line 1947  for (j = 0; j < pattern_count; j++) Line 1947  for (j = 0; j < pattern_count; j++)
1947      fprintf(stderr, "pcregrep: Error while studying regex%s: %s\n", s, error);      fprintf(stderr, "pcregrep: Error while studying regex%s: %s\n", s, error);
1948      goto EXIT2;      goto EXIT2;
1949      }      }
1950    hint_count++;    hint_count++;
1951    }    }
1952    
1953  /* If there are include or exclude patterns, compile them. */  /* If there are include or exclude patterns, compile them. */

Legend:
Removed from v.141  
changed lines
  Added in v.142

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12