Ignore:
Timestamp:
Nov 11, 2007, 11:24:37 AM (18 years ago)
Author:
Darin Adler
Message:
  • try another way of fixing dftables builds -- refactor pcre_internal.h a bit
  • pcre/pcre_internal.h: Make most of this header do nothing when DFTABLES is set. Later we can break it into two files.
  • JavaScriptCore.vcproj/dftables/dftables.vcproj: Take out now-unneeded include paths.
  • pcre/dftables.cpp: Set DFTABLES. Use delete instead of free.
  • pcre/dftables.pro: Take out now-unneeded include paths.
  • pcre/pcre_maketables.cpp: Use new instead of malloc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/dftables.cpp

    r27686 r27689  
    4040
    4141/* This is a freestanding support program to generate a file containing default
    42 character tables for PCRE. The tables are built according to the default C
    43 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. */
     42character tables. The tables are built according to the default C
     43locale. */
     44
     45#define DFTABLES
    4546
    4647#include <ctype.h>
     
    160161
    161162fclose(f);
    162 free((void *)base_of_tables);
     163delete []base_of_tables;
    163164return 0;
    164165}
Note: See TracChangeset for help on using the changeset viewer.