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

Diff of /code/trunk/dftables.c

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

revision 128 by ph10, Tue Mar 20 11:46:50 2007 UTC revision 199 by ph10, Tue Jul 31 14:39:09 2007 UTC
# Line 43  character tables for PCRE. The tables ar Line 43  character tables for PCRE. The tables ar
43  locale. Now that pcre_maketables is a function visible to the outside world, we  locale. Now that pcre_maketables is a function visible to the outside world, we
44  make use of its code from here in order to be consistent. */  make use of its code from here in order to be consistent. */
45    
46    #ifdef HAVE_CONFIG_H
47    #include <config.h>
48    #endif
49    
50  #include <ctype.h>  #include <ctype.h>
51  #include <stdio.h>  #include <stdio.h>
52  #include <string.h>  #include <string.h>
# Line 99  fprintf(f, Line 103  fprintf(f,
103    "tables are passed to PCRE by the application that calls it. The tables\n"    "tables are passed to PCRE by the application that calls it. The tables\n"
104    "are used only for characters whose code values are less than 256.\n\n");    "are used only for characters whose code values are less than 256.\n\n");
105  fprintf(f,  fprintf(f,
106    "The following #include is present because without it gcc 4.x may remove\n"    "The following #includes are present because without them gcc 4.x may remove\n"
107    "the array definition from the final binary if PCRE is built into a static\n"    "the array definition from the final binary if PCRE is built into a static\n"
108    "library and dead code stripping is activated. This leads to link errors.\n"    "library and dead code stripping is activated. This leads to link errors.\n"
109    "Pulling in the header ensures that the array gets flagged as \"someone\n"    "Pulling in the header ensures that the array gets flagged as \"someone\n"
110    "outside this compilation unit might reference this\" and so it will always\n"    "outside this compilation unit might reference this\" and so it will always\n"
111    "be supplied to the linker. */\n\n"    "be supplied to the linker. */\n\n"
112      "#ifdef HAVE_CONFIG_H"
113      "#include <config.h>"
114      "#endif"
115    "#include \"pcre_internal.h\"\n\n");    "#include \"pcre_internal.h\"\n\n");
116  fprintf(f,  fprintf(f,
117    "const unsigned char _pcre_default_tables[] = {\n\n"    "const unsigned char _pcre_default_tables[] = {\n\n"

Legend:
Removed from v.128  
changed lines
  Added in v.199

  ViewVC Help
Powered by ViewVC 1.1.5