Changeset a75cd3d for libcfa/src
- Timestamp:
- Aug 31, 2021, 11:38:43 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 692db791
- Parents:
- dcf792a
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
rdcf792a ra75cd3d 16 16 } 17 17 18 void msg( Missing_Config_Entries * ex ) { 19 serr | "The config file is missing " | ex->num_missing | " entries"; 20 } 21 18 22 19 23 static vtable(Parse_Failure) Parse_Failure_vt; … … 33 37 } 34 38 39 void msg( Parse_Failure * ex ) { 40 serr | "Config entry " | ex->failed_key | " could not be parsed. It has value " | ex->failed_value | "."; 41 } 42 35 43 36 44 static vtable(Validation_Failure) Validation_Failure_vt; … … 49 57 free( failed_value ); 50 58 } 59 60 void msg( Validation_Failure * ex ) { 61 serr | "Config entry " | ex->failed_key | " could not be validated. It has value " | ex->failed_value | "."; 51 62 } 52 63 -
libcfa/src/parseconfig.hfa
rdcf792a ra75cd3d 62 62 }; 63 63 64 void ?{}( Missing_Config_Entries & this);64 void msg( Missing_Config_Entries * ex ); 65 65 66 66 exception Parse_Failure { … … 69 69 }; 70 70 71 void ?{}( Parse_Failure & this);71 void msg( Parse_Failure * ex ); 72 72 73 73 exception Validation_Failure { … … 76 76 }; 77 77 78 void ?{}( Validation_Failure & this);78 void msg( Validation_Failure * ex ); 79 79 80 80
Note: See TracChangeset
for help on using the changeset viewer.