The node field of a T or M record: '!' for none, else a label code and '=' * (the node's name is the record's name as written) or ':' and the node's * name after the item prefix. */
| 777 | * (the node's name is the record's name as written) or ':' and the node's |
| 778 | * name after the item prefix. */ |
| 779 | static void rs_parse_node(const char *field, const char *name, char *label, const char **suffix) { |
| 780 | *label = 0; |
| 781 | *suffix = NULL; |
| 782 | if (!field[0] || field[0] == '!') { |
| 783 | return; |
| 784 | } |
| 785 | if (field[SKIP_ONE] == '=') { |
| 786 | *label = field[0]; |
| 787 | *suffix = name; |
| 788 | } else if (field[SKIP_ONE] == ':' && field[PAIR_LEN]) { |
| 789 | *label = field[0]; |
| 790 | *suffix = field + PAIR_LEN; |
| 791 | } |
| 792 | } |
| 793 | |
| 794 | /* A module field of a record of file `f`: the module, or CBM_NOT_FOUND when |
| 795 | * the number is not one of the file's. */ |
no outgoing calls
no test coverage detected