Changeset 18526 in webkit


Ignore:
Timestamp:
Jan 2, 2007 9:39:50 AM (17 years ago)
Author:
darin
Message:
  • minor tweak (hope this doesn't re-break Windows)
  • pcre/pcre_compile.c: Removed use of const pcre_uchar const * -- Mitz probably meant const pcre_uchar *const, but I think we can do without the explicit const here.
  • pcre/pcre_internal.h: Re-enabled warning C4114.
Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r18525 r18526  
     12007-01-02  Darin Adler  <darin@apple.com>
     2
     3        - minor tweak (hope this doesn't re-break Windows)
     4
     5        * pcre/pcre_compile.c: Removed use of const pcre_uchar const * -- Mitz probably
     6        meant const pcre_uchar *const, but I think we can do without the explicit const here.
     7
     8        * pcre/pcre_internal.h: Re-enabled warning C4114.
     9
    1102007-01-02  David Kilzer  <ddkilzer@webkit.org>
    211
  • trunk/JavaScriptCore/pcre/pcre_compile.c

    r18525 r18526  
    356356
    357357static BOOL
    358   compile_regex(int, int, int *, uschar **, const pcre_uchar **, const pcre_uchar const*, int *, BOOL, int,
     358  compile_regex(int, int, int *, uschar **, const pcre_uchar **, const pcre_uchar *, int *, BOOL, int,
    359359    int *, int *, branch_chain *, compile_data *);
    360360
     
    384384
    385385static int
    386 check_escape(const pcre_uchar **ptrptr, const pcre_uchar const* patternEnd, int *errorcodeptr, int bracount,
     386check_escape(const pcre_uchar **ptrptr, const pcre_uchar *patternEnd, int *errorcodeptr, int bracount,
    387387  int options, BOOL isclass)
    388388{
     
    596596
    597597static int
    598 get_ucp(const pcre_uchar **ptrptr, const pcre_uchar const* patternEnd, BOOL *negptr, int *errorcodeptr)
     598get_ucp(const pcre_uchar **ptrptr, const pcre_uchar *patternEnd, BOOL *negptr, int *errorcodeptr)
    599599{
    600600int c, i, bot, top;
     
    689689
    690690static BOOL
    691 is_counted_repeat(const pcre_uchar *p, const pcre_uchar const* patternEnd)
     691is_counted_repeat(const pcre_uchar *p, const pcre_uchar *patternEnd)
    692692{
    693693if (p >= patternEnd || (DIGITAB(*p) & ctype_digit) == 0)
     
    13731373
    13741374static BOOL
    1375 check_posix_syntax(const pcre_uchar *ptr, const pcre_uchar const *patternEnd, const pcre_uchar **endptr, compile_data *cd)
     1375check_posix_syntax(const pcre_uchar *ptr, const pcre_uchar *patternEnd, const pcre_uchar **endptr, compile_data *cd)
    13761376{
    13771377int terminator;          /* Don't combine these lines; the Solaris cc */
     
    16001600static BOOL
    16011601compile_branch(int *optionsptr, int *brackets, uschar **codeptr,
    1602   const pcre_uchar **ptrptr, const pcre_uchar const* patternEnd, int *errorcodeptr, int *firstbyteptr,
     1602  const pcre_uchar **ptrptr, const pcre_uchar *patternEnd, int *errorcodeptr, int *firstbyteptr,
    16031603  int *reqbyteptr, branch_chain *bcptr, compile_data *cd)
    16041604{
     
    35033503static BOOL
    35043504compile_regex(int options, int oldims, int *brackets, uschar **codeptr,
    3505   const pcre_uchar **ptrptr, const pcre_uchar const* patternEnd, int *errorcodeptr, BOOL lookbehind, int skipbytes,
     3505  const pcre_uchar **ptrptr, const pcre_uchar *patternEnd, int *errorcodeptr, BOOL lookbehind, int skipbytes,
    35063506  int *firstbyteptr, int *reqbyteptr, branch_chain *bcptr, compile_data *cd)
    35073507{
     
    39563956const uschar *codestart;
    39573957const pcre_uchar *ptr;
    3958 const pcre_uchar const* patternEnd;
     3958const pcre_uchar *patternEnd;
    39593959compile_data compile_block;
    39603960int brastack[BRASTACK_SIZE];
  • trunk/JavaScriptCore/pcre/pcre_internal.h

    r18525 r18526  
    5858
    5959#if COMPILER(MSVC)
    60 #pragma warning(disable: 4114)
    6160#pragma warning(disable: 4232)
    6261#pragma warning(disable: 4244)
Note: See TracChangeset for help on using the changeset viewer.