Changeset 26b9e71


Ignore:
Timestamp:
Aug 31, 2021, 1:49:09 AM (5 months ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
jacob/cs343-translation, master
Children:
07b0c91
Parents:
3c124da
git-author:
Jacob Prud'homme <jafprudhomme@…> (06/22/21 12:17:13)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
Message:

Removed checking for a specific number of entries in the config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    r3c124da r26b9e71  
    5757                        parms[posn].value = value;
    5858                } // for
    59 
    60                 if ( numOfParm != Parmnum ) {
    61                         exit | "Error: file \"" | configFile | "\" is corrupt."; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** //
    62                 } // if
    63                 if ( ! comments( in, name ) ) {                                 // ! eof ?
    64                         exit | "Error: file \"" | configFile | "\" has extraneous data."; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** //
    65                 } // if
    6659        } catch( Open_Failure * ex; ex->istream == &in ) {
    6760                exit | "Error: could not open input file \"" | configFile | "\""; // *** DOES THIS PRINT TO STDERR??? IT MUST!!! *** //
Note: See TracChangeset for help on using the changeset viewer.