mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 23:48:30 +00:00
emitn iterate
This commit is contained in:
parent
d3bb622880
commit
da8b5df620
1 changed files with 5 additions and 5 deletions
|
|
@ -777,7 +777,7 @@ static void mlhmmv_to_lrecs_aux_across_records(
|
|||
|
||||
} else {
|
||||
lrec_t* pnextrec = lrec_copy(ptemplate);
|
||||
int xxx = TRUE;
|
||||
int emit = TRUE;
|
||||
for (mlhmmv_level_entry_t* pe = plevel->phead; pe != NULL; pe = pe->pnext) {
|
||||
mlhmmv_value_t* plevel_value = &pe->level_value;
|
||||
if (plevel_value->is_terminal) {
|
||||
|
|
@ -798,13 +798,13 @@ static void mlhmmv_to_lrecs_aux_across_records(
|
|||
} else {
|
||||
mlhmmv_to_lrecs_aux_across_records(pe->level_value.u.pnext_level,
|
||||
prefix, NULL, pnextrec, poutrecs, do_full_prefixing);
|
||||
xxx = FALSE;
|
||||
emit = FALSE;
|
||||
}
|
||||
}
|
||||
if (xxx) // xxx comment
|
||||
sllv_append(poutrecs, pnextrec);
|
||||
if (emit)
|
||||
sllv_append(poutrecs, pnextrec);
|
||||
else
|
||||
lrec_free(pnextrec);
|
||||
lrec_free(pnextrec);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue