| 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 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS |
| 13 #include <exception> |
| 14 using std::exception; |
| 15 #endif |
| 12 #include <typeinfo> // for 'typeid' to work | 16 #include <typeinfo> // for 'typeid' to work |
| 13 | 17 |
| 14 #include "unicode/utypes.h" | 18 #include "unicode/utypes.h" |
| 15 | 19 |
| 16 #if !UCONFIG_NO_BREAK_ITERATION | 20 #if !UCONFIG_NO_BREAK_ITERATION |
| 17 | 21 |
| 18 #include "unicode/utypes.h" | 22 #include "unicode/utypes.h" |
| 19 #include "unicode/brkiter.h" | 23 #include "unicode/brkiter.h" |
| 20 #include "unicode/rbbi.h" | 24 #include "unicode/rbbi.h" |
| 21 #include "unicode/uchar.h" | 25 #include "unicode/uchar.h" |
| (...skipping 5162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5184 pos = bi->last(); | 5188 pos = bi->last(); |
| 5185 do { | 5189 do { |
| 5186 // ruleStatus = bi->getRuleStatus(); | 5190 // ruleStatus = bi->getRuleStatus(); |
| 5187 printf("%d\t%d\n", pos, ruleStatus); | 5191 printf("%d\t%d\n", pos, ruleStatus); |
| 5188 pos = bi->previous(); | 5192 pos = bi->previous(); |
| 5189 } while (pos != BreakIterator::DONE); | 5193 } while (pos != BreakIterator::DONE); |
| 5190 #endif | 5194 #endif |
| 5191 } | 5195 } |
| 5192 | 5196 |
| 5193 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 5197 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |
| OLD | NEW |