Browse Source

tweak comments

David Rose 21 years ago
parent
commit
03c882f992

+ 2 - 2
pandatool/src/xfile/xFileDataDef.cxx

@@ -147,8 +147,8 @@ write_text(ostream &out, int indent_level) const {
 //               data elements appropriately back into the object.
 //               data elements appropriately back into the object.
 //
 //
 //               It returns true on success, or false on an error
 //               It returns true on success, or false on an error
-//               (e.g. too many semicolons, not enough data elements,
-//               mismatched data type).
+//               (e.g. not enough data elements, mismatched data
+//               type).
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 bool XFileDataDef::
 bool XFileDataDef::
 repack_data(XFileDataObject *object, 
 repack_data(XFileDataObject *object, 

+ 1 - 1
pandatool/src/xfile/xFileDataObjectArray.cxx

@@ -80,7 +80,7 @@ write_data(ostream &out, int indent_level, const char *separator) const {
       }
       }
     }
     }
 
 
-    // The last object is the set is different, because it gets
+    // The last object in the set is different, because it gets
     // separator instead of a semicolon, and it always gets a newline.
     // separator instead of a semicolon, and it always gets a newline.
     XFileDataObject *object = _nested_elements.back();
     XFileDataObject *object = _nested_elements.back();
     if (object->is_complex_object()) {
     if (object->is_complex_object()) {

+ 2 - 2
pandatool/src/xfile/xFileNode.cxx

@@ -275,8 +275,8 @@ write_text(ostream &out, int indent_level) const {
 //               data elements appropriately back into the object.
 //               data elements appropriately back into the object.
 //
 //
 //               It returns true on success, or false on an error
 //               It returns true on success, or false on an error
-//               (e.g. too many semicolons, not enough data elements,
-//               mismatched data type).
+//               (e.g. not enough data elements, mismatched data
+//               type).
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 bool XFileNode::
 bool XFileNode::
 repack_data(XFileDataObject *object, 
 repack_data(XFileDataObject *object,