[Pcre-svn] [593] code/trunk: Fix small typos in pcre_interna…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [593] code/trunk: Fix small typos in pcre_internal.h
Revision: 593
          http://vcs.pcre.org/viewvc?view=rev&revision=593
Author:   ph10
Date:     2011-05-01 09:14:24 +0100 (Sun, 01 May 2011)


Log Message:
-----------
Fix small typos in pcre_internal.h

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/pcre_internal.h


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2011-04-30 17:37:37 UTC (rev 592)
+++ code/trunk/ChangeLog    2011-05-01 08:14:24 UTC (rev 593)
@@ -6,7 +6,9 @@


1. The Unicode data tables have been updated to Unicode 6.0.0.

+2. Two minor typos in pcre_internal.h have been fixed.

+
Version 8.12 15-Jan-2011
------------------------


Modified: code/trunk/pcre_internal.h
===================================================================
--- code/trunk/pcre_internal.h    2011-04-30 17:37:37 UTC (rev 592)
+++ code/trunk/pcre_internal.h    2011-05-01 08:14:24 UTC (rev 593)
@@ -1420,9 +1420,9 @@
   /* The next two pairs must (respectively) be kept together. */


   OP_CREF,           /* 100 Used to hold a capture number as condition */
-  OP_NCREF,          /* 101 Same, but generaged by a name reference*/
+  OP_NCREF,          /* 101 Same, but generated by a name reference*/
   OP_RREF,           /* 102 Used to hold a recursion number as condition */
-  OP_NRREF,          /* 103 Same, but generaged by a name reference*/
+  OP_NRREF,          /* 103 Same, but generated by a name reference*/
   OP_DEF,            /* 104 The DEFINE condition */


   OP_BRAZERO,        /* 105 These two must remain together and in this */
@@ -1855,7 +1855,7 @@
 #define UCD_BLOCK_SIZE 128
 #define GET_UCD(ch) (_pcre_ucd_records + \
         _pcre_ucd_stage2[_pcre_ucd_stage1[(ch) / UCD_BLOCK_SIZE] * \
-        UCD_BLOCK_SIZE + ch % UCD_BLOCK_SIZE])
+        UCD_BLOCK_SIZE + (ch) % UCD_BLOCK_SIZE])


 #define UCD_CHARTYPE(ch)  GET_UCD(ch)->chartype
 #define UCD_SCRIPT(ch)    GET_UCD(ch)->script