- Timestamp:
- Aug 31, 2021, 11:54:07 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- e22c841
- Parents:
- 692db791
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
r692db791 r32913bc 9 9 10 10 11 // TODO: Add names of missing config entries to exception (see further below) 11 12 static vtable(Missing_Config_Entries) Missing_Config_Entries_vt; 12 13 … … 113 114 } // comments 114 115 115 // Parse configuration from a file formatted in shellstyle116 // Parse configuration from a file formatted in tabular (CS 343) style 116 117 KVPairs * parse_tabular_config_format( const char * config_file, size_t num_entries ) { 117 118 // TODO: Change this to a unique_ptr when we fully support returning them (move semantics) … … 126 127 127 128 while () { // parameter names can appear in any order 128 // Must add check to see if already read in a key-value pair,129 // NOTE: Must add check to see if already read in value for this key, 129 130 // once we switch to using hash table as intermediate storage 130 131 if ( comments( in, key ) ) break; // eof ?
Note: See TracChangeset
for help on using the changeset viewer.