| 1152 | } |
| 1153 | |
| 1154 | static int getnum (const TCHAR **pp) |
| 1155 | { |
| 1156 | const TCHAR *p = *pp; |
| 1157 | int v; |
| 1158 | |
| 1159 | if (!_tcsnicmp (p, _T("false"), 5)) |
| 1160 | v = 0; |
| 1161 | else if (!_tcsnicmp (p, _T("true"), 4)) |
| 1162 | v = 1; |
| 1163 | else |
| 1164 | v = _tstol (p); |
| 1165 | |
| 1166 | while (*p != 0 && *p !='.' && *p != ',' && *p != '=') |
| 1167 | p++; |
| 1168 | if (*p == '.' || *p == ',') |
| 1169 | p++; |
| 1170 | *pp = p; |
| 1171 | return v; |
| 1172 | } |
| 1173 | static TCHAR *getstring (const TCHAR **pp) |
| 1174 | { |
| 1175 | int i; |
no outgoing calls
no test coverage detected