comparison host/libcdl/value.cxx @ 108:ff3f181b64bd ecos-sw-2000-07-04

Merge from eCos master repository on 2000-07-04-20:42:44-BST
author jlarmour
date Tue, 04 Jul 2000 20:17:21 +0000
parents 5a0cc6c243a9
children 6ed91473a1cd
comparison
equal deleted inserted replaced
107:7f461c3a372c 108:ff3f181b64bd
3788 } else if (this->has_property(CdlPropertyId_Calculated)) { 3788 } else if (this->has_property(CdlPropertyId_Calculated)) {
3789 CdlProperty_Expression expr = this->get_calculated_expression(); 3789 CdlProperty_Expression expr = this->get_calculated_expression();
3790 data += indent_string + "# Calculated value: " + 3790 data += indent_string + "# Calculated value: " +
3791 CdlInterpreterBody::extend_comment(expr->get_original_string(), indentation, 4) + '\n'; 3791 CdlInterpreterBody::extend_comment(expr->get_original_string(), indentation, 4) + '\n';
3792 data += CdlInterpreterBody::multiline_comment(follow_expr_references(expr, expr), indentation, 4); 3792 data += CdlInterpreterBody::multiline_comment(follow_expr_references(expr, expr), indentation, 4);
3793 } else { 3793 } else if (!modifiable) {
3794 data += indent_string + "# This value cannot be modified here.\n"; 3794 data += indent_string + "# This value cannot be modified here.\n";
3795 } 3795 }
3796 3796
3797 // Output the flavor. This clutters up the savefile a bit. 3797 // Output the flavor. This clutters up the savefile a bit.
3798 // However it is necessary so that the user can distinguish 3798 // However it is necessary so that the user can distinguish
3799 // between bool, booldata and data items 3799 // between bool, booldata and data items
3800 switch(this->get_flavor()) { 3800 switch(this->get_flavor()) {
3801 case CdlValueFlavor_Bool: 3801 case CdlValueFlavor_Bool: