Commit ae63ab14 authored by rdubner's avatar rdubner

Debug

parent 089c540a
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
using namespace std; using namespace std;
//#define DUMPING #define DUMPING
void void
scan_test(const string &filename) scan_test(const string &filename)
......
...@@ -1137,6 +1137,14 @@ VARIABLE_TREE::Consolidive(VAR_NODE *node,const DATA_DESCRIPTIONS &data_descript ...@@ -1137,6 +1137,14 @@ VARIABLE_TREE::Consolidive(VAR_NODE *node,const DATA_DESCRIPTIONS &data_descript
index = data_description.GetIndex(program_id,base_symbol,offset); index = data_description.GetIndex(program_id,base_symbol,offset);
node->data_description_index = index; node->data_description_index = index;
node->base_symbol = data_description[index].c_symbol; node->base_symbol = data_description[index].c_symbol;
node->offset = data_description[index].field_data_offset ;
node->best_size = data_description[index].field_size ;
node->best_picture = data_description[index].picture_string ;
node->attr_type = data_description[index].attr_type ;
node->attr_digits = data_description[index].attr_digits ;
node->attr_scale = data_description[index].attr_scale ;
node->attr_flags = data_description[index].attr_flags ;
} }
} }
} }
...@@ -1236,6 +1244,7 @@ VARIABLE_TREE::FormatVariablesInfo(stringstream &ss) const ...@@ -1236,6 +1244,7 @@ VARIABLE_TREE::FormatVariablesInfo(stringstream &ss) const
for(VVAR_NODES::const_iterator it=flat_list.begin(); for(VVAR_NODES::const_iterator it=flat_list.begin();
it!=flat_list.end(); it!=flat_list.end();
it++) { it++) {
VAR_NODE *node = *it; VAR_NODE *node = *it;
ss << "D|"; ss << "D|";
ss << node->section.substr(0,2) << "|"; ss << node->section.substr(0,2) << "|";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment