Browse Source

[disney_stable] brief dcparse output includes string length constraints now

Josh Wilson 15 years ago
parent
commit
ccdae0e4bc
1 changed files with 7 additions and 0 deletions
  1. 7 0
      direct/src/dcparser/dcSimpleParameter.cxx

+ 7 - 0
direct/src/dcparser/dcSimpleParameter.cxx

@@ -2334,6 +2334,13 @@ output_instance(ostream &out, bool brief, const string &prename,
       }
       break;
 
+    case ST_string:
+      if (!_uint_range.is_empty()) {
+        out << "(";
+        _uint_range.output(out, _divisor);
+        out << ")";
+      }
+      break;
     default:
       break;
     }