- Timestamp:
- Nov 14, 2006, 4:03:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/v1r20b1/source/cmt_parser.cxx
r323 r324 4523 4523 //---------------------------------------------------------- 4524 4524 void Cmt::install_native_version_file () 4525 { 4526 4527 4528 Use& current_use = Use::current (); 4525 { 4526 Use& current_use = Use::current (); 4529 4527 cmt_string package_name = current_use.get_package_name(); 4530 cmt_string macro_name = package_name + "_native_version";4531 Symbol* macro = Symbol::find (macro_name);4528 cmt_string macro_name = package_name + "_native_version"; 4529 Symbol* macro = Symbol::find (macro_name); 4532 4530 if (macro != 0) 4533 4531 { 4534 4532 cout << "Creating native_version file." << endl; 4535 Symbol::expand (macro_name);4536 4533 cmt_string value = macro->resolve_macro_value (); 4537 FILE* f = fopen ("new.native_version.cmt", "wb");4534 FILE* f = fopen ("new.native_version.cmt", "wb"); 4538 4535 if (f != NULL) 4539 4536 {
Note: See TracChangeset
for help on using the changeset viewer.