summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-05-10 14:03:18 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-05-10 14:03:18 +0000
commit50f36ee8e81985b008bfa4223bdbdd50483f88cf (patch)
tree7c6e1cdadbf40ce76de98e1b2bb7b2bbfde83c6b
parent038a52f90a30d93c5688a882620bfd392f386076 (diff)
downloadpcre-50f36ee8e81985b008bfa4223bdbdd50483f88cf.tar.gz
Fix spelling mistakes in comments.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1325 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--ChangeLog4
-rw-r--r--NEWS2
-rw-r--r--RunTest.bat2
-rw-r--r--pcre_compile.c2
-rw-r--r--pcre_exec.c2
-rw-r--r--pcre_jit_compile.c6
-rw-r--r--pcretest.c2
-rw-r--r--sljit/sljitLir.h6
8 files changed, 14 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index f232932..8ae04c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -153,6 +153,8 @@ Version 8.33 28-April-2013
changed so that one match of an empty string per line is recognized.
Subsequent searches on the same line (for colouring or for --only-matching,
for example) do not recognize empty strings.
+
+41. Applied a user patch to fix a number of spelling mistakes in comments.
Version 8.32 30-November-2012
@@ -1906,7 +1908,7 @@ Version 7.7 07-May-08
containing () gave an internal compiling error instead of "reference to
non-existent subpattern". Fortunately, when the pattern did exist, the
compiled code was correct. (When scanning forwards to check for the
- existencd of the subpattern, it was treating the data ']' as terminating
+ existence of the subpattern, it was treating the data ']' as terminating
the class, so got the count wrong. When actually compiling, the reference
was subsequently set up correctly.)
diff --git a/NEWS b/NEWS
index 336f687..cc384a6 100644
--- a/NEWS
+++ b/NEWS
@@ -615,7 +615,7 @@ some of the new functionality in Perl 5.005.
Another (I hope this is the last!) change has been made to the API for the
pcre_compile() function. An additional argument has been added to make it
possible to pass over a pointer to character tables built in the current
-locale by pcre_maketables(). To use the default tables, this new arguement
+locale by pcre_maketables(). To use the default tables, this new argument
should be passed as NULL.
IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.05
diff --git a/RunTest.bat b/RunTest.bat
index 95d71e8..35d7f71 100644
--- a/RunTest.bat
+++ b/RunTest.bat
@@ -15,7 +15,7 @@
@rem tests 4 5 9 15 and 18 require utf support
@rem tests 6 7 10 16 and 19 require ucp support
@rem 11 requires ucp and link size 2
-@rem 12 requires presense of jit support
+@rem 12 requires presence of jit support
@rem 13 requires absence of jit support
@rem Sheri P also added override tests for study and jit testing
@rem Zoltan Herczeg added libpcre16 support
diff --git a/pcre_compile.c b/pcre_compile.c
index 8d5a592..1f7bdb4 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -8185,7 +8185,7 @@ if (code - codestart > length) errorcode = ERR23;
#ifdef SUPPORT_VALGRIND
/* If the estimated length exceeds the really used length, mark the extra
-allocated memory as unadressable, so that any out-of-bound reads can be
+allocated memory as unaddressable, so that any out-of-bound reads can be
detected. */
VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar));
#endif
diff --git a/pcre_exec.c b/pcre_exec.c
index 85aae92..ab76d02 100644
--- a/pcre_exec.c
+++ b/pcre_exec.c
@@ -813,7 +813,7 @@ for (;;)
/* Note that, for Perl compatibility, SKIP with an argument does NOT set
nomatch_mark. When a pattern match ends with a SKIP_ARG for which there was
not a matching mark, we have to re-run the match, ignoring the SKIP_ARG
- that failed and any that preceed it (either they also failed, or were not
+ that failed and any that precede it (either they also failed, or were not
triggered). To do this, we maintain a count of executed SKIP_ARGs. If a
SKIP_ARG gets to top level, the match is re-run with md->ignore_skip_arg
set to the count of the one that failed. */
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c
index a2fd2e8..201416d 100644
--- a/pcre_jit_compile.c
+++ b/pcre_jit_compile.c
@@ -211,7 +211,7 @@ typedef int (SLJIT_CALL *jit_function)(jit_arguments *args);
/* The following structure is the key data type for the recursive
code generator. It is allocated by compile_matchingpath, and contains
-the aguments for compile_backtrackingpath. Must be the first member
+the arguments for compile_backtrackingpath. Must be the first member
of its descendants. */
typedef struct backtrack_common {
/* Concatenation stack. */
@@ -2374,7 +2374,7 @@ return (bit < 256) ? ((0 << 8) | bit) : ((1 << 8) | (bit >> 8));
static void check_partial(compiler_common *common, BOOL force)
{
-/* Checks whether a partial matching is occured. Does not modify registers. */
+/* Checks whether a partial matching is occurred. Does not modify registers. */
DEFINE_COMPILER;
struct sljit_jump *jump = NULL;
@@ -8227,7 +8227,7 @@ if (has_alternatives)
return;
}
- /* Instructions after the current alternative is succesfully matched. */
+ /* Instructions after the current alternative is successfully matched. */
/* There is a similar code in compile_bracket_matchingpath. */
if (opcode == OP_ONCE)
match_once_common(common, ket, CURRENT_AS(bracket_backtrack)->u.framesize, private_data_ptr, has_alternatives, needs_control_head);
diff --git a/pcretest.c b/pcretest.c
index 2176549..6ef3252 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -1322,7 +1322,7 @@ graph, print, punct, and cntrl. Other classes are built from combinations. */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 240-247 */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/* 248-255 */
-/* This is a set of tables that came orginally from a Windows user. It seems to
+/* This is a set of tables that came originally from a Windows user. It seems to
be at least an approximation of ISO 8859. In particular, there are characters
greater than 128 that are marked as spaces, letters, etc. */
diff --git a/sljit/sljitLir.h b/sljit/sljitLir.h
index a04ff06..8a02744 100644
--- a/sljit/sljitLir.h
+++ b/sljit/sljitLir.h
@@ -77,7 +77,7 @@
#endif
/* The following header file defines useful macros for fine tuning
-sljit based code generators. They are listed in the begining
+sljit based code generators. They are listed in the beginning
of sljitConfigInternal.h */
#include "sljitConfigInternal.h"
@@ -308,7 +308,7 @@ SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void);
/* Free everything except the compiled machine code. */
SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
-/* Returns the current error code. If an error is occured, future sljit
+/* Returns the current error code. If an error is occurred, future sljit
calls which uses the same compiler argument returns early with the same
error code. Thus there is no need for checking the error after every
call, it is enough to do it before the code is compiled. Removing
@@ -449,7 +449,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fast_return(struct sljit_compiler *
sequences. This information could help to improve those code
generators which focuses only a few architectures.
- x86: [reg+imm], -2^32+1 <= imm <= 2^32-1 (full adress space on x86-32)
+ x86: [reg+imm], -2^32+1 <= imm <= 2^32-1 (full address space on x86-32)
[reg+(reg<<imm)] is supported
[imm], -2^32+1 <= imm <= 2^32-1 is supported
Write-back is not supported