Changeset 1229 for cpp/frams/genetics/f4/f4_general.h
- Timestamp:
- 04/30/23 02:11:46 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/f4_general.h
r1228 r1229 42 42 43 43 /** 44 * TODO MacKo 2023-04: not sure if this function is needed and if f4_processRecur() would not suffice 45 * if it advanced the string pointer (in/out parameter) while processing. Its returned value is always used after 46 * f4_processRecur() anyway, and in two cases likely incorrectly (for [...] to detect closing ']' 47 * and for :...: to detect closing ':') - we don't need recursion in these cases, a simple linear 48 * scan would suffice, but even this would not be needed - since we are parsing the actual characters in these cases, 49 * we do scanning anyway. So looks like this function doubles the work already done more thoroughly by f4_processRecur(). 50 * 44 51 * Scans f4 genotype string for a stopping character and returns the position of 45 52 * this stopping character or 1 if the end of string was reached. This method is used … … 494 501 * @return 0 if processing was successful, otherwise returns the position of an error in the genotype 495 502 */ 496 int f4_processRecur(const char *genot, unsigned pos0, f4_Node *parent);503 int f4_processRecur(const char *genot, unsigned int pos0, f4_Node *parent); 497 504 498 505 /**
Note: See TracChangeset
for help on using the changeset viewer.