Imported Upstream version 58.1
[platform/upstream/icu.git] / source / common / rbbitblb.cpp
index 09ec3ce..2738c75 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 **********************************************************************
 *   Copyright (c) 2002-2016, International Business Machines
@@ -79,7 +81,7 @@ void  RBBITableBuilder::build() {
 #ifdef RBBI_DEBUG
     if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "ftree")) {
         RBBIDebugPuts("\nParse tree after flattening variable references.");
-        fTree->printTree(TRUE);
+        RBBINode::printTree(fTree, TRUE);
     }
 #endif
 
@@ -137,7 +139,7 @@ void  RBBITableBuilder::build() {
 #ifdef RBBI_DEBUG
     if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "stree")) {
         RBBIDebugPuts("\nParse tree after flattening Unicode Set references.");
-        fTree->printTree(TRUE);
+        RBBINode::printTree(fTree, TRUE);
     }
 #endif
 
@@ -1058,7 +1060,7 @@ void RBBITableBuilder::printPosSets(RBBINode *n) {
     }
     printf("\n");
     RBBINode::printNodeHeader();
-    n->printNode();
+    RBBINode::printNode(n);
     RBBIDebugPrintf("         Nullable:  %s\n", n->fNullable?"TRUE":"FALSE");
 
     RBBIDebugPrintf("         firstpos:  ");