version 1.7, 2015/01/23 22:35:57 |
version 1.8, 2016/10/21 16:12:38 |
|
|
LstNode ln; /* Current node */ |
LstNode ln; /* Current node */ |
|
|
for (ln = Lst_First(path); ln != NULL; ln = Lst_Adv(ln)) |
for (ln = Lst_First(path); ln != NULL; ln = Lst_Adv(ln)) |
Dir_MatchFilesi(word, eword, (struct PathEntry *)Lst_Datum(ln), |
Dir_MatchFilesi(word, eword, Lst_Datum(ln), expansions); |
expansions); |
|
} |
} |
|
|
/*- |
/*- |
|
|
/* Prime queue with copy of initial word */ |
/* Prime queue with copy of initial word */ |
Lst_Init(&curled); |
Lst_Init(&curled); |
Lst_EnQueue(&curled, Str_dupi(word, eword)); |
Lst_EnQueue(&curled, Str_dupi(word, eword)); |
while ((toexpand = (char *)Lst_DeQueue(&curled)) != NULL) { |
while ((toexpand = Lst_DeQueue(&curled)) != NULL) { |
const char *brace; |
const char *brace; |
const char *start; |
const char *start; |
/* Start of current chunk of brace clause */ |
/* Start of current chunk of brace clause */ |