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_3.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_3.hh" |
19 | |
20 | /*! |
21 | *\brief Specialisation constructor. |
22 | */ |
23 | data_block_3::data_block_3(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 | */ |
34 | vector<string> data_block_3::get_description(){ |
35 | vector<string> result; |
36 | result.insert(result.end()," "+get_typestring()+"End Jump, absolute 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 | */ |
45 | bool data_block_3::is_endblock(){ |
46 | return true; |
47 | } |
798b0c1d |
48 | |
49 | |
50 | |