| 1304 | } |
| 1305 | |
| 1306 | txBoolean fx_parseURLIsWindowsDriveLetter(txMachine* the, txString string, txBoolean startsWith) |
| 1307 | { |
| 1308 | char c = *string++; |
| 1309 | if ((('A' <= c) && (c <= 'Z')) || (('a' <= c) && (c <= 'z'))) { |
| 1310 | c = *string++; |
| 1311 | if ((c == ':') || (c == '|')) { |
| 1312 | c = *string++; |
| 1313 | if (c == 0) |
| 1314 | return 1; |
| 1315 | if (startsWith && ((c == '/') || (c == '\\') || (c == '?') || (c == '#'))) |
| 1316 | return 1; |
| 1317 | } |
| 1318 | } |
| 1319 | return 0; |
| 1320 | } |
| 1321 | |
| 1322 | void fx_parseURLNullPart(txMachine* the, txSlot* target, txID id) |
| 1323 | { |
no outgoing calls
no test coverage detected