eap->cookie = cctx;
l = heredoc_get(eap, op + 3, FALSE);
- // Push each line and the create the list.
- FOR_ALL_LIST_ITEMS(l, li)
+ if (cctx->ctx_skip != SKIP_YES)
{
- generate_PUSHS(cctx, li->li_tv.vval.v_string);
- li->li_tv.vval.v_string = NULL;
+ // Push each line and the create the list.
+ FOR_ALL_LIST_ITEMS(l, li)
+ {
+ generate_PUSHS(cctx, li->li_tv.vval.v_string);
+ li->li_tv.vval.v_string = NULL;
+ }
+ generate_NEWLIST(cctx, l->lv_len);
+ type = &t_list_string;
+ member_type = &t_list_string;
}
- generate_NEWLIST(cctx, l->lv_len);
- type = &t_list_string;
- member_type = &t_list_string;
list_free(l);
p += STRLEN(p);
end = p;