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

Diff of /code/trunk/pcretest.c

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

revision 343 by ph10, Mon Apr 21 16:30:37 2008 UTC revision 351 by ph10, Fri Jul 4 18:27:16 2008 UTC
# Line 94  appropriately for an application, not fo Line 94  appropriately for an application, not fo
94  #include "pcre.h"  #include "pcre.h"
95  #include "pcre_internal.h"  #include "pcre_internal.h"
96    
97  /* We need access to the data tables that PCRE uses. So as not to have to keep  /* We need access to some of the data tables that PCRE uses. So as not to have
98  two copies, we include the source file here, changing the names of the external  to keep two copies, we include the source file here, changing the names of the
99  symbols to prevent clashes. */  external symbols to prevent clashes. */
100    
101    #define _pcre_ucp_gentype      ucp_gentype
102  #define _pcre_utf8_table1      utf8_table1  #define _pcre_utf8_table1      utf8_table1
103  #define _pcre_utf8_table1_size utf8_table1_size  #define _pcre_utf8_table1_size utf8_table1_size
104  #define _pcre_utf8_table2      utf8_table2  #define _pcre_utf8_table2      utf8_table2
# Line 1255  while (!done) Line 1256  while (!done)
1256          if (strncmp((char *)pp, "JS>", 3) == 0)          if (strncmp((char *)pp, "JS>", 3) == 0)
1257            {            {
1258            options |= PCRE_JAVASCRIPT_COMPAT;            options |= PCRE_JAVASCRIPT_COMPAT;
1259            pp += 3;            pp += 3;
1260            }            }
1261          else          else
1262            {            {
1263            int x = check_newline(pp, outfile);            int x = check_newline(pp, outfile);
1264            if (x == 0) goto SKIP_DATA;            if (x == 0) goto SKIP_DATA;
1265            options |= x;            options |= x;
1266            while (*pp++ != '>');            while (*pp++ != '>');
1267            }            }
1268          }          }
1269        break;        break;
1270    

Legend:
Removed from v.343  
changed lines
  Added in v.351

  ViewVC Help
Powered by ViewVC 1.1.5