- Timestamp:
- Aug 31, 2021, 1:49:09 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- dac3455
- Parents:
- 1896c1f
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (06/15/21 11:22:16)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
r1896c1f rc3c76cd 50 50 in | value; 51 51 if ( value < 0 ) { 52 close( in );53 52 exit | "Error: file \"" | configFile | "\" parameter " | name 54 53 | " value " | value | " must be non-negative."; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** // … … 62 61 63 62 if ( numOfParm != Parmnum ) { 64 close( in );65 63 exit | "Error: file \"" | configFile | "\" is corrupt."; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** // 66 64 } // if 67 65 if ( ! comments( in, name ) ) { // ! eof ? 68 close( in );69 66 exit | "Error: file \"" | configFile | "\" has extraneous data."; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** // 70 67 } // if 71 68 } catch( Open_Failure * ex; ex->istream == &in ) { 69 exit | "Error: could not open input file \"" | configFile | "\""; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** // 70 } finally { 72 71 close( in ); 73 exit | "Error: could not open input file \"" | configFile | "\""; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** //74 72 } // try 75 76 close( in );77 73 78 74 if ( cparms.numStops < 2 ) {
Note: See TracChangeset
for help on using the changeset viewer.