Ignore:
Timestamp:
Oct 16, 2007, 10:38:39 PM (18 years ago)
Author:
darin
Message:

Reviewed by Geoff.

  • merged PCRE changes between 6.4 and 6.5
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj: Removed pcre_config.c, pcre_globals.c, pcre_info.c, pcre_maketables.c, pcre_printint.src, pcre_refcount.c, pcre_study.c, pcre_try_flipped.c, pcre_ucp_findchar.c, pcre_version.c, and ucptable.c. Added pcre_ucp_searchfuncs.c.
  • pcre/AUTHORS:
  • pcre/LICENCE:
  • pcre/MERGING:
  • pcre/dftables.c:
  • pcre/pcre-config.h:
  • pcre/pcre.h:
  • pcre/pcre.pri:
  • pcre/pcre_compile.c:
  • pcre/pcre_exec.c:
  • pcre/pcre_fullinfo.c:
  • pcre/pcre_get.c:
  • pcre/pcre_internal.h:
  • pcre/pcre_maketables.c:
  • pcre/pcre_ord2utf8.c:
  • pcre/pcre_tables.c:
  • pcre/pcre_ucp_searchfuncs.c: Copied from pcre/pcre_ucp_findchar.c.
  • pcre/pcre_xclass.c:
  • pcre/ucp.h:
  • pcre/ucpinternal.h:
  • pcre/ucptable.c: Updated with new versions from the PCRE 6.5 release, merged with changes.
  • pcre/pcre_config.c: Removed.
  • pcre/pcre_globals.c: Removed.
  • pcre/pcre_info.c: Removed.
  • pcre/pcre_printint.src: Removed.
  • pcre/pcre_refcount.c: Removed.
  • pcre/pcre_study.c: Removed.
  • pcre/pcre_try_flipped.c: Removed.
  • pcre/pcre_ucp_findchar.c: Removed.
  • pcre/pcre_version.c: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_get.c

    r16155 r26697  
    77
    88                       Written by Philip Hazel
    9            Copyright (c) 1997-2005 University of Cambridge
     9           Copyright (c) 1997-2006 University of Cambridge
    1010
    1111-----------------------------------------------------------------------------
     
    6363*/
    6464
    65 int
    66 pcre_get_stringnumber(const pcre *code, const pcre_char *stringname)
    67 {
    6865/* FIXME: This doesn't work for UTF-16 because the name table has 8-bit characters in it! */
    6966#if !PCRE_UTF16
     67int
     68pcre_get_stringnumber(const pcre *code, const pcre_char *stringname)
     69{
    7070int rc;
    7171int entrysize;
     
    9191  if (c > 0) bot = mid + 1; else top = mid;
    9292  }
    93 #else
    94  UNUSED_PARAM(code);
    95  UNUSED_PARAM(stringname);
     93
     94return PCRE_ERROR_NOSUBSTRING;
     95}
    9696#endif
    97 
    98 return PCRE_ERROR_NOSUBSTRING;
    99 }
    10097
    10198
     
    214211pcre_char *p;
    215212
    216 for (i = 0; i < double_count; i += 2) {
    217   size += INT_CAST(sizeof(pcre_char *) + (ovector[i+1] - ovector[i] + 1) * sizeof(pcre_char));
    218 }
     213for (i = 0; i < double_count; i += 2)
     214  size += sizeof(pcre_char *) + (ovector[i+1] - ovector[i] + 1) * sizeof(pcre_char);
    219215
    220216stringlist = (pcre_char **)(pcre_malloc)(size);
Note: See TracChangeset for help on using the changeset viewer.