Corrected handling for FORTRAN data blocks 3 and 4: added endblock capability.
[h316.git] / pc-tools / ldc2 / src / data_block_4.cpp
CommitLineData
4741aa72 1/******************************************************************************
2 *
3 * LDC2 source code
4 *
7bfbd225 5 * $Date: 2007/05/30 01:33:08 $
4741aa72 6 * $Author: hachti $
7 *
8 * $Log: data_block_4.cpp,v $
7bfbd225 9 * Revision 2.1 2007/05/30 01:33:08 hachti
10 * Corrected handling for FORTRAN data blocks 3 and 4: added endblock capability.
11 *
12 * Revision 2.0 2007-03-26 01:00:39 hachti
4741aa72 13 * *** empty log message ***
14 *
15 *
16 ******************************************************************************/
17
798b0c1d 18#include "data_block_4.hh"
19
20/*!
21 *\brief Specialisation constructor.
22 */
23data_block_4::data_block_4(data_block & org)
24 :data_block(org)
874a2bd8 25{
26 m_has_known_type=false;
27}
28
798b0c1d 29
30/*!
31 *\brief Describe the block.
32 *\return A vector of text lines describing this block.
33 */
34vector<string> data_block_4::get_description(){
35 vector<string> result;
36 result.insert(result.end()," "+get_typestring()+"End Jump, relative address");
37 return result;
38}
39
7bfbd225 40/***************************************************************/
41/*!
42 *\brief Determine if the block marks the end of an object
43 *\return true because this block is an end block.
44 */
45bool data_block_4::is_endblock(){
46 return true;
47}
48
798b0c1d 49
50
51