Changeset 7016 for trunk/psModules/src/astrom/pmFPAConstruct.c
- Timestamp:
- Apr 30, 2006, 3:08:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmFPAConstruct.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmFPAConstruct.c
r7009 r7016 43 43 { 44 44 bool allOK = true; // Everything was OK? 45 psList *values = psStringSplit(string, " ,;" ); // List of the parts45 psList *values = psStringSplit(string, " ,;", true); // List of the parts 46 46 *first = psArrayAlloc(values->n); 47 47 *second = psArrayAlloc(values->n); … … 52 52 psString value = NULL; // "first:second:third" string 53 53 while ((value = psListGetAndIncrement(valuesIter))) { 54 psList *firstSecondThird = psStringSplit(value, ":" ); // List containing the first, second, third54 psList *firstSecondThird = psStringSplit(value, ":", true); // List containing the first, second, third 55 55 psArray *fst = psListToArray(firstSecondThird); // An array representation 56 56 psFree(firstSecondThird); … … 194 194 } 195 195 196 psList *keywords = psStringSplit(contentHeaders, " ,;" ); // List of keywords196 psList *keywords = psStringSplit(contentHeaders, " ,;", true); // List of keywords 197 197 psListIterator *keywordsIter = psListIteratorAlloc(keywords, PS_LIST_HEAD, false); // Iterator 198 198 psString keyword = NULL; // Keyword, from iteration … … 377 377 378 378 pmChip *chip = pmChipAlloc(fpa, chipName); // The chip 379 psList *cellNames = psStringSplit(componentsItem->data.V, " ,;" ); // List of cell names379 psList *cellNames = psStringSplit(componentsItem->data.V, " ,;", true); // List of cell names 380 380 psListIterator *cellNamesIter = psListIteratorAlloc(cellNames, PS_LIST_HEAD, false); // Iterator 381 381
Note:
See TracChangeset
for help on using the changeset viewer.
