]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/ruleiter.cpp
ICU-8.11.4.tar.gz
[apple/icu.git] / icuSources / common / ruleiter.cpp
index 7a084aa611368191c5c533d4ced4cd4ea53db4f2..30f136c0828d930d3cd9712bd980617659e18ab2 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-* Copyright (c) 2003-2004, International Business Machines
+* Copyright (c) 2003-2005, International Business Machines
 * Corporation and others.  All Rights Reserved.
 **********************************************************************
 * Author: Alan Liu
@@ -117,11 +117,13 @@ void RuleCharacterIterator::jumpahead(int32_t count) {
     _advance(count);
 }
 
+/*
 UnicodeString& RuleCharacterIterator::toString(UnicodeString& result) const {
     int32_t b = pos.getIndex();
     text.extract(0, b, result);
-    return result.append((UChar) 0x7C /*'|'*/).append(text, b, 0x7FFFFFFF);
+    return result.append((UChar) 0x7C).append(text, b, 0x7FFFFFFF); // Insert '|' at index
 }
+*/
 
 UChar32 RuleCharacterIterator::_current() const {
     if (buf != 0) {