*** empty log message ***
[h316.git] / pc-tools / ldc2 / src / data_block.cpp
index 41d52f8f2a22bb7a83462810b21207692d733b63..25abaa3faf99f81585c0b92712443b260cacc273 100644 (file)
@@ -20,10 +20,7 @@ data_block::data_block(tape_block& org)
  *\return the block type extracted from the block's data.
  */
 int data_block::get_type(){
-  if ((init_state==TBS_OK)&&word_data)
-    return (word_data[0]&0xf000)>>12;
-  else
- return block_type;
+     return (word_data[0]&0xf000)>>12;
 }
 
 /*!
@@ -47,6 +44,15 @@ vector<string> data_block::get_description(){
   return result;
 }
 
+/*!
+ *\brief Determine if the block marks the end of an object
+ *\retval true The block marks the end of an object.
+ *\retval false The block does not mark the end of an object.
+ */
+bool data_block::get_obj_end(){
+  return false;
+}
+
 /*!
  *\brief Extract 6 byte symbol name from word memory.
  *