| 1151 | } |
| 1152 | |
| 1153 | static void insert_arg_cache(char *code, int rule) |
| 1154 | { |
| 1155 | struct arg_cache *entry = NEW(struct arg_cache); |
| 1156 | int i; |
| 1157 | |
| 1158 | if (!entry) no_space(); |
| 1159 | i = strnshash(code) % ARG_CACHE_SIZE; |
| 1160 | entry->code = code; |
| 1161 | entry->rule = rule; |
| 1162 | entry->next = arg_cache[i]; |
| 1163 | arg_cache[i] = entry; |
| 1164 | } |
| 1165 | |
| 1166 | static void clean_arg_cache(void) |
| 1167 | { |
no test coverage detected