Lines Matching refs:catch
15 struct linestack *catch = *lls;
18 if (pos > catch->len) error_exit("linestack_addstack past end.");
21 if (catch->len+throw->len >= catch->max) {
23 catch->max = ((catch->len+throw->len)|63)+1;
24 *lls = xmalloc(sizeof(struct linestack)+catch->max*sizeof(struct ptr_len));
25 memcpy(*lls, catch, sizeof(struct linestack)+pos*sizeof(struct ptr_len));
29 if (pos != catch->len)
30 memmove((*lls)->idx+pos+throw->len, catch->idx+pos,
31 (catch->len-pos)*sizeof(struct ptr_len));
34 if (catch != *lls) {
35 free(catch);
36 catch = *lls;
40 memcpy(catch->idx+pos, throw->idx, throw->len*sizeof(struct ptr_len));
41 catch->len += throw->len;