Ignore:
Timestamp:
Aug 31, 2021, 1:30:43 PM (9 months ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
enum, forall-pointer-decay, jacob/cs343-translation, master
Children:
480389d2
Parents:
32913bc
Message:

Fixed message function for Missing_Config_Entries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    r32913bc re22c841  
    1818
    1919void msg( Missing_Config_Entries * ex ) {
    20         serr | "The config file is missing " | ex->num_missing | " entries.";
     20        serr | nlOff;
     21        serr | "The config file is missing " | ex->num_missing;
     22        serr | nlOn;
     23        if ( ex->num_missing == 1 ) {
     24                serr | " entry.";
     25        } else {
     26                serr | " entries.";
     27        }
    2128}
    2229
Note: See TracChangeset for help on using the changeset viewer.