diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-11-21 15:35:09 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-11-21 15:35:09 +0000 |
commit | 9d11f1cf5e08a2d076c4e07f23a0a5035d4d7005 (patch) | |
tree | bbb21fa3da5ce0340e449180ce1d1e1014a0abc9 | |
parent | 810e539b658bedf0a56935b7d3551c6ae0acf17f (diff) | |
download | pcre-9d11f1cf5e08a2d076c4e07f23a0a5035d4d7005.tar.gz |
s/backslash/backspace in two comments where it was wrong.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@275 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pcre_compile.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -37,7 +37,10 @@ Version 7.5 12-Nov-07 seems to me that giving a diagnostic is better. 8. Change "alphameric" to the more common word "alphanumeric" in comments - and messages. + and messages. + +9. Fix two occurrences of "backslash" in comments that should have been + "backspace". Version 7.4 21-Sep-07 diff --git a/pcre_compile.c b/pcre_compile.c index a39e584..8cea7ac 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -2787,7 +2787,7 @@ for (;; ptr++) c = check_escape(&ptr, errorcodeptr, cd->bracount, options, TRUE); if (*errorcodeptr != 0) goto FAILED; - if (-c == ESC_b) c = '\b'; /* \b is backslash in a class */ + if (-c == ESC_b) c = '\b'; /* \b is backspace in a class */ else if (-c == ESC_X) c = 'X'; /* \X is literal X in a class */ else if (-c == ESC_R) c = 'R'; /* \R is literal R in a class */ else if (-c == ESC_Q) /* Handle start of quoted string */ @@ -3076,7 +3076,7 @@ for (;; ptr++) d = check_escape(&ptr, errorcodeptr, cd->bracount, options, TRUE); if (*errorcodeptr != 0) goto FAILED; - /* \b is backslash; \X is literal X; \R is literal R; any other + /* \b is backspace; \X is literal X; \R is literal R; any other special means the '-' was literal */ if (d < 0) |