OLD | NEW |
1 /******************************************************************** | 1 /******************************************************************** |
2 * COPYRIGHT: | 2 * COPYRIGHT: |
3 * Copyright (c) 1999-2010, International Business Machines Corporation and | 3 * Copyright (c) 1999-2010, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ********************************************************************/ | 5 ********************************************************************/ |
6 /************************************************************************ | 6 /************************************************************************ |
7 * Date Name Description | 7 * Date Name Description |
8 * 12/15/99 Madhu Creation. | 8 * 12/15/99 Madhu Creation. |
9 * 01/12/2000 Madhu Updated for changed API and added new tests | 9 * 01/12/2000 Madhu Updated for changed API and added new tests |
10 ************************************************************************/ | 10 ************************************************************************/ |
11 | 11 |
12 #include <typeinfo> // for 'typeid' to work | 12 #include "unicode/utypeinfo.h" // for 'typeid' to work |
13 | 13 |
14 #include "unicode/utypes.h" | 14 #include "unicode/utypes.h" |
15 | 15 |
16 #if !UCONFIG_NO_BREAK_ITERATION | 16 #if !UCONFIG_NO_BREAK_ITERATION |
17 | 17 |
18 #include "unicode/utypes.h" | 18 #include "unicode/utypes.h" |
19 #include "unicode/brkiter.h" | 19 #include "unicode/brkiter.h" |
20 #include "unicode/rbbi.h" | 20 #include "unicode/rbbi.h" |
21 #include "unicode/uchar.h" | 21 #include "unicode/uchar.h" |
22 #include "unicode/utf16.h" | 22 #include "unicode/utf16.h" |
(...skipping 5161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5184 pos = bi->last(); | 5184 pos = bi->last(); |
5185 do { | 5185 do { |
5186 // ruleStatus = bi->getRuleStatus(); | 5186 // ruleStatus = bi->getRuleStatus(); |
5187 printf("%d\t%d\n", pos, ruleStatus); | 5187 printf("%d\t%d\n", pos, ruleStatus); |
5188 pos = bi->previous(); | 5188 pos = bi->previous(); |
5189 } while (pos != BreakIterator::DONE); | 5189 } while (pos != BreakIterator::DONE); |
5190 #endif | 5190 #endif |
5191 } | 5191 } |
5192 | 5192 |
5193 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 5193 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |
OLD | NEW |