Changeset 10467 for trunk/FACT++/src
- Timestamp:
- 04/26/11 18:56:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Converter.cc
r10449 r10467 631 631 throw runtime_error("Compiled format invalid!"); 632 632 633 if (dat==0) 634 throw runtime_error("Data pointer == NULL!"); 635 633 636 const char *ptr = reinterpret_cast<const char *>(dat); 634 637 … … 772 775 773 776 // if the :N part was not given assume 1 774 format.second.first = cnt == 0 ? 1: cnt; 777 format.second.first = cnt == 0 ? 1 : cnt; 778 779 if (strict && t[0]=='C' && cnt>0) 780 { 781 out << kRed << "Dim doesn't support the format C with N>0!" << endl; 782 return FormatList(); 783 } 775 784 776 785 // Check if the format is just C (without a number)
Note:
See TracChangeset
for help on using the changeset viewer.