diff options
Diffstat (limited to 'lib/uniwbrk/wbrktable.c')
| -rw-r--r-- | lib/uniwbrk/wbrktable.c | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/lib/uniwbrk/wbrktable.c b/lib/uniwbrk/wbrktable.c index 81a2323e..ff25fb31 100644 --- a/lib/uniwbrk/wbrktable.c +++ b/lib/uniwbrk/wbrktable.c @@ -1,5 +1,5 @@  /* Word break auxiliary table. -   Copyright (C) 2009 Free Software Foundation, Inc. +   Copyright (C) 2009-2010 Free Software Foundation, Inc.     Written by Bruno Haible <bruno@clisp.org>, 2009.     This program is free software: you can redistribute it and/or modify it @@ -22,22 +22,22 @@  /* This table contains the following rules (see UAX #29): -		       last         current +                       last         current -			 ALetter × ALetter                         (WB5) -			 ALetter × Numeric                         (WB9) -			 Numeric × ALetter                         (WB10) -			 Numeric × Numeric                         (WB8) -			Katakana × Katakana                        (WB13) +                         ALetter × ALetter                         (WB5) +                         ALetter × Numeric                         (WB9) +                         Numeric × ALetter                         (WB10) +                         Numeric × Numeric                         (WB8) +                        Katakana × Katakana                        (WB13)    (ALetter | Numeric | Katakana) × ExtendNumLet                    (WB13a) -		    ExtendNumLet × ExtendNumLet                    (WB13a) -		    ExtendNumLet × (ALetter | Numeric | Katakana)  (WB13b) +                    ExtendNumLet × ExtendNumLet                    (WB13a) +                    ExtendNumLet × (ALetter | Numeric | Katakana)  (WB13b)   */  const unsigned char uniwbrk_table[10][8] =  {        /* current:      OTHER            MIDNUMLET         NUMERIC         */ -	 /*                   KATAKANA           MIDLETTER      EXTENDNUMLET */ -	 /*                          ALETTER            MIDNUM               */ +         /*                   KATAKANA           MIDLETTER      EXTENDNUMLET */ +         /*                          ALETTER            MIDNUM               */    /* last */    /* WBP_OTHER */        {  1,    1,    1,    1,    1,    1,    1,    1 },    /* WBP_KATAKANA */     {  1,    0,    1,    1,    1,    1,    1,    0 }, | 
