Changeset 9129 in project


Ignore:
Timestamp:
02/29/08 16:41:09 (12 years ago)
Author:
Kon Lovett
Message:

Update for PCRE 7.6

Location:
release/3/regex-extras/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • release/3/regex-extras/trunk/config.h

    r8400 r9129  
    1 /* config.h.  From PCRE 7.4 config.h generated from config.h.in by configure.  */
     1/* config.h.  From PCRE 7.6 config.h generated from config.h.in by configure.  */
    22
    33#if defined(HAVE_CONFIG_H) || defined(HAVE_CHICKEN_CONFIG_H)
     
    9595
    9696/* Define to the full name and version of this package. */
    97 #define PACKAGE_STRING "PCRE 7.4"
     97#define PACKAGE_STRING "PCRE 7.6"
    9898
    9999/* Define to the one symbol short name of this package. */
     
    101101
    102102/* Define to the version of this package. */
    103 #define PACKAGE_VERSION "7.4"
     103#define PACKAGE_VERSION "7.6"
    104104
    105105/* When calling PCRE via the POSIX interface, additional working storage is
     
    131131
    132132/* Version number of package */
    133 #define VERSION "7.4"
     133#define VERSION "7.6"
    134134
    135135/* Define to empty if `const' does not conform to ANSI C. */
  • release/3/regex-extras/trunk/pcre_internal.h

    r8400 r9129  
    88
    99                       Written by Philip Hazel
    10            Copyright (c) 1997-2007 University of Cambridge
     10           Copyright (c) 1997-2008 University of Cambridge
    1111
    1212-----------------------------------------------------------------------------
     
    7171
    7272#include "config.h"
     73
    7374
    7475/* Standard C headers plus the external interface definition. The only time
     
    368369
    369370#ifndef SUPPORT_UTF8
     371#define NEXTCHAR(p) p++;
    370372#define GETCHAR(c, eptr) c = *eptr;
    371373#define GETCHARTEST(c, eptr) c = *eptr;
     
    376378
    377379#else   /* SUPPORT_UTF8 */
     380
     381/* Advance a character pointer one byte in non-UTF-8 mode and by one character
     382in UTF-8 mode. */
     383
     384#define NEXTCHAR(p) \
     385  p++; \
     386  if (utf8) { while((*p & 0xc0) == 0x80) p++; }
    378387
    379388/* Get the next UTF-8 character, not advancing the pointer. This is called when
     
    876885       ERR40, ERR41, ERR42, ERR43, ERR44, ERR45, ERR46, ERR47, ERR48, ERR49,
    877886       ERR50, ERR51, ERR52, ERR53, ERR54, ERR55, ERR56, ERR57, ERR58, ERR59,
    878        ERR60, ERR61 };
     887       ERR60, ERR61, ERR62, ERR63 };
    879888
    880889/* The real format of the start of the pcre block; the index of names and the
     
    939948  int  names_found;             /* Number of entries so far */
    940949  int  name_entry_size;         /* Size of each entry */
    941   int  bracount;                /* Count of capturing parens */
     950  int  bracount;                /* Count of capturing parens as we compile */
     951  int  final_bracount;          /* Saved value after first pass */
    942952  int  top_backref;             /* Maximum back reference */
    943953  unsigned int backref_map;     /* Bitmap of low back refs */
     
    10411051#define ctype_digit   0x04
    10421052#define ctype_xdigit  0x08
    1043 #define ctype_word    0x10   /* alphameric or '_' */
     1053#define ctype_word    0x10   /* alphanumeric or '_' */
    10441054#define ctype_meta    0x80   /* regexp meta char or zero (end pattern) */
    10451055
  • release/3/regex-extras/trunk/regex-extras.meta

    r8400 r9129  
    77 (synopsis "Access to PCRE Structures")
    88 (files
     9  "config.h"
     10  "pcre_internal.h"
     11  "ucp.h"
    912  "regex-extras.scm"
    1013  "regex-chardefs.scm"
  • release/3/regex-extras/trunk/regex-extras.setup

    r8400 r9129  
    44         (find-library "pcre" "pcre_malloc"))
    55  (install-dynld regex-extras *version* (documentation "regex-extras.html"))
    6   (error "cannot build without an installed PCRE 7.4 or better") )
     6  (error "cannot build without an installed PCRE 7.6 or better") )
    77
    88(if (and (find-header "pcre_internal.h")
     
    1414    (begin
    1515      (newline)
    16       (print "*** Building regex-chardefs with own PCRE 7.4 internal headers. ***")
     16      (print "*** Building regex-chardefs with own PCRE 7.6 internal headers. ***")
    1717      (install-dynld regex-chardefs *version* -I. (documentation "regex-extras.html")) ) )
Note: See TracChangeset for help on using the changeset viewer.