diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-06-12 16:24:58 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-06-12 16:24:58 +0000 |
commit | 2d606295bb68dcb32222489cd97a2a01f2fb4670 (patch) | |
tree | 74d5f82c2a01666a3c5d851c84744c08504b0e56 /pcre_compile.c | |
parent | 382ca2bb4ffd423aceab05c4b1c1885cd3a48958 (diff) | |
download | pcre-2d606295bb68dcb32222489cd97a2a01f2fb4670.tar.gz |
Fix \a and \e in pcretest, and \a in pcre_compile, on EBCDIC platforms.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1567 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r-- | pcre_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_compile.c b/pcre_compile.c index 4df571b..be10086 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -174,7 +174,7 @@ static const short int escapes[] = { -ESC_Z, CHAR_LEFT_SQUARE_BRACKET, CHAR_BACKSLASH, CHAR_RIGHT_SQUARE_BRACKET, CHAR_CIRCUMFLEX_ACCENT, CHAR_UNDERSCORE, - CHAR_GRAVE_ACCENT, 7, + CHAR_GRAVE_ACCENT, ESC_a, -ESC_b, 0, -ESC_d, ESC_e, ESC_f, 0, @@ -202,7 +202,7 @@ static const short int escapes[] = { /* 68 */ 0, 0, '|', ',', '%', '_', '>', '?', /* 70 */ 0, 0, 0, 0, 0, 0, 0, 0, /* 78 */ 0, '`', ':', '#', '@', '\'', '=', '"', -/* 80 */ 0, 7, -ESC_b, 0, -ESC_d, ESC_e, ESC_f, 0, +/* 80 */ 0, ESC_a, -ESC_b, 0, -ESC_d, ESC_e, ESC_f, 0, /* 88 */-ESC_h, 0, 0, '{', 0, 0, 0, 0, /* 90 */ 0, 0, -ESC_k, 0, 0, ESC_n, 0, -ESC_p, /* 98 */ 0, ESC_r, 0, '}', 0, 0, 0, 0, |