Changeset 98d6b744 for libcfa/src
- 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:
- 02a22a2
- Parents:
- 52c6891
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (07/23/21 16:28:56)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
r52c6891 r98d6b744 74 74 75 75 while () { 76 char * key ;77 char * value ;76 char * key = 0p; 77 char * value = 0p; 78 78 if ( comments( in, key ) ) break; // eof ? 79 79 // Should we just overwrite duplicate config entries? Having a hash map would make this much easier … … 111 111 112 112 // Validate the parsed data, if necessary 113 if ( entries[j].validate != 0p ) {113 if ( entries[j].validate != (bool (*)(void *))0p ) { 114 114 if ( !entries[j].validate( entries[j].variable ) ) throwValidation_Failure( entries[j] ); 115 115 }
Note: See TracChangeset
for help on using the changeset viewer.