Changeset 3be4078
- Timestamp:
- Aug 31, 2021, 1:49:10 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- dcf792a
- Parents:
- e1e506b
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (08/24/21 13:21:32)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
re1e506b r3be4078 11 11 static vtable(Missing_Config_Entries) Missing_Config_Entries_vt; 12 12 13 void ?{}( Missing_Config_Entries & this ) with ( this ) {13 void ?{}( Missing_Config_Entries & this, unsigned int num_missing ) with ( this ) { 14 14 virtual_table = &Missing_Config_Entries_vt; 15 missing = num_missing; 15 16 } 16 17 … … 144 145 if ( entries_so_far < num_entries ) { 145 146 delete( kv_pairs ); 146 throw (Missing_Config_Entries){ };147 throw (Missing_Config_Entries){ num_entries - entries_so_far }; 147 148 } 148 149 -
libcfa/src/parseconfig.hfa
re1e506b r3be4078 58 58 59 59 60 exception Missing_Config_Entries {}; 60 exception Missing_Config_Entries { 61 unsigned int missing; 62 }; 61 63 62 64 void ?{}( Missing_Config_Entries & this );
Note: See TracChangeset
for help on using the changeset viewer.