[Pcre-svn] [1325] code/trunk: Fix spelling mistakes in comme…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1325] code/trunk: Fix spelling mistakes in comments.
Revision: 1325
          http://vcs.pcre.org/viewvc?view=rev&revision=1325
Author:   ph10
Date:     2013-05-10 15:03:18 +0100 (Fri, 10 May 2013)


Log Message:
-----------
Fix spelling mistakes in comments.

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/NEWS
    code/trunk/RunTest.bat
    code/trunk/pcre_compile.c
    code/trunk/pcre_exec.c
    code/trunk/pcre_jit_compile.c
    code/trunk/pcretest.c
    code/trunk/sljit/sljitLir.h


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/ChangeLog    2013-05-10 14:03:18 UTC (rev 1325)
@@ -153,6 +153,8 @@
     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 @@
     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.)



Modified: code/trunk/NEWS
===================================================================
--- code/trunk/NEWS    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/NEWS    2013-05-10 14:03:18 UTC (rev 1325)
@@ -615,7 +615,7 @@
 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


Modified: code/trunk/RunTest.bat
===================================================================
--- code/trunk/RunTest.bat    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/RunTest.bat    2013-05-10 14:03:18 UTC (rev 1325)
@@ -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


Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/pcre_compile.c    2013-05-10 14:03:18 UTC (rev 1325)
@@ -8185,7 +8185,7 @@


#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

Modified: code/trunk/pcre_exec.c
===================================================================
--- code/trunk/pcre_exec.c    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/pcre_exec.c    2013-05-10 14:03:18 UTC (rev 1325)
@@ -813,7 +813,7 @@
     /* 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. */


Modified: code/trunk/pcre_jit_compile.c
===================================================================
--- code/trunk/pcre_jit_compile.c    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/pcre_jit_compile.c    2013-05-10 14:03:18 UTC (rev 1325)
@@ -211,7 +211,7 @@


/* 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 @@

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 @@
         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);


Modified: code/trunk/pcretest.c
===================================================================
--- code/trunk/pcretest.c    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/pcretest.c    2013-05-10 14:03:18 UTC (rev 1325)
@@ -1322,7 +1322,7 @@
   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. */


Modified: code/trunk/sljit/sljitLir.h
===================================================================
--- code/trunk/sljit/sljitLir.h    2013-05-10 11:40:06 UTC (rev 1324)
+++ code/trunk/sljit/sljitLir.h    2013-05-10 14:03:18 UTC (rev 1325)
@@ -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 @@
/* 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 @@
            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