- Timestamp:
- Aug 9, 2023, 5:40:57 PM (12 months ago)
- Branches:
- master
- Children:
- 9ff71ff
- Parents:
- e7a8f65
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
re7a8f65 r74c6748 112 112 113 113 114 static [ bool ] comments( & ifstream in, [] char name ) {114 static [ bool ] comments( & ifstream in, size_t size, [] char name ) { 115 115 while () { 116 in | name;116 in | wdi( size, name ); 117 117 if ( eof( in ) ) return true; 118 118 if ( name[0] != '#' ) return false; … … 136 136 // NOTE: Must add check to see if already read in value for this key, 137 137 // once we switch to using hash table as intermediate storage 138 if ( comments( in, key ) ) break;// eof ?139 in | value;138 if ( comments( in, 64, key ) ) break; // eof ? 139 in | wdi( 256, value ); 140 140 141 141 add_kv_pair( *kv_pairs, key, value );
Note: See TracChangeset
for help on using the changeset viewer.