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

Diff of /code/trunk/pcre_maketables.c

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

revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC revision 305 by ph10, Sun Jan 20 20:07:32 2008 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2006 University of Cambridge             Copyright (c) 1997-2008 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 45  compilation of dftables.c, in which case Line 45  compilation of dftables.c, in which case
45    
46    
47  #ifndef DFTABLES  #ifndef DFTABLES
48  #include "pcre_internal.h"  #  ifdef HAVE_CONFIG_H
49    #  include "config.h"
50    #  endif
51    #  include "pcre_internal.h"
52  #endif  #endif
53    
54    
# Line 130  for (i = 0; i < 256; i++) Line 133  for (i = 0; i < 256; i++)
133    meta-character, which in this sense is any character that terminates a run    meta-character, which in this sense is any character that terminates a run
134    of data characters. */    of data characters. */
135    
136    if (strchr("*+?{^.$|()[", i) != 0) x += ctype_meta; *p++ = x; }    if (strchr("\\*+?{^.$|()[", i) != 0) x += ctype_meta;
137      *p++ = x;
138      }
139    
140  return yield;  return yield;
141  }  }

Legend:
Removed from v.87  
changed lines
  Added in v.305

  ViewVC Help
Powered by ViewVC 1.1.5