comparison src/context.cpp @ 74:b7449114ebb0

start coding on new config syntax
author carl
date Sun, 10 Jul 2005 14:19:00 -0700
parents 2b369f7db7bf
children 1142e46be550
comparison
equal deleted inserted replaced
73:2b369f7db7bf 74:b7449114ebb0
322 322
323 323
324 //////////////////////////////////////////////// 324 ////////////////////////////////////////////////
325 // helper to discard the strings held by a string_set 325 // helper to discard the strings held by a string_set
326 // 326 //
327 static void discard(string_set &s) { 327 void discard(string_set &s) {
328 for (string_set::iterator i=s.begin(); i!=s.end(); i++) { 328 for (string_set::iterator i=s.begin(); i!=s.end(); i++) {
329 free(*i); 329 free(*i);
330 } 330 }
331 s.clear(); 331 s.clear();
332 } 332 }