[Pcre-svn] [346] code/trunk: Fix typo in ucpinternal.h.

Página Inicial
Delete this message
Autor: Subversion repository
Data:  
Para: pcre-svn
Assunto: [Pcre-svn] [346] code/trunk: Fix typo in ucpinternal.h.
Revision: 346
          http://vcs.pcre.org/viewvc?view=rev&revision=346
Author:   ph10
Date:     2008-04-30 17:35:49 +0100 (Wed, 30 Apr 2008)


Log Message:
-----------
Fix typo in ucpinternal.h.

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


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2008-04-28 15:10:02 UTC (rev 345)
+++ code/trunk/ChangeLog    2008-04-30 16:35:49 UTC (rev 346)
@@ -102,6 +102,11 @@
     ncurses library to be included for pcretest when ReadLine support is
     requested, but also to allow for it to be overridden. This patch came from
     Daniel Bergstr\xF6m.
+    
+19. There was a typo in the file ucpinternal.h where f0_rangeflag was defined
+    as 0x00f00000 instead of 0x00800000. Luckily, this would not have caused 
+    any errors with the current Unicode tables. Thanks to Peter Kankowski for 
+    spotting this. 



Version 7.6 28-Jan-08

Modified: code/trunk/ucpinternal.h
===================================================================
--- code/trunk/ucpinternal.h    2008-04-28 15:10:02 UTC (rev 345)
+++ code/trunk/ucpinternal.h    2008-04-30 16:35:49 UTC (rev 346)
@@ -17,7 +17,7 @@


 #define f0_scriptmask   0xff000000  /* Mask for script field */
 #define f0_scriptshift          24  /* Shift for script value */
-#define f0_rangeflag    0x00f00000  /* Flag for a range item */
+#define f0_rangeflag    0x00800000  /* Flag for a range item */
 #define f0_charmask     0x001fffff  /* Mask for code point value */


/* Things for the f1 field */