mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-23 16:08:43 +00:00
bind-stack allocate CST iterate
This commit is contained in:
parent
cfee7b607f
commit
8a118c820a
2 changed files with 1 additions and 15 deletions
|
|
@ -283,11 +283,6 @@ void mlr_dsl_cst_handle_top_level_statement_block(
|
|||
variables_t* pvars,
|
||||
cst_outputs_t* pcst_outputs);
|
||||
|
||||
void mlr_dsl_cst_handle_statement_block( // xxx rm
|
||||
sllv_t* pcst_block, // block bodies for begin, main, end; cond, if, for, while
|
||||
variables_t* pvars,
|
||||
cst_outputs_t* pcst_outputs);
|
||||
|
||||
// Recursive entry point: block bodies for begin, main, end; cond, if, for, while.
|
||||
void mlr_dsl_cst_handle_statement_list( // xxx rename to handle statement block
|
||||
sllv_t* pcst_statements,
|
||||
|
|
|
|||
|
|
@ -2068,17 +2068,8 @@ void mlr_dsl_cst_handle_top_level_statement_block(
|
|||
}
|
||||
|
||||
// ================================================================
|
||||
// xxx copy to ..._for_filter
|
||||
// xxx rename to ..._for_put
|
||||
|
||||
void mlr_dsl_cst_handle_statement_block(
|
||||
sllv_t* pcst_block,
|
||||
variables_t* pvars,
|
||||
cst_outputs_t* pcst_outputs)
|
||||
{
|
||||
mlr_dsl_cst_handle_statement_list(pcst_block, pvars, pcst_outputs);
|
||||
bind_stack_clear(pvars->pbind_stack); // clear the baseframe
|
||||
}
|
||||
// xxx whack
|
||||
|
||||
// This is for statement lists not recursively contained within a loop body -- including the
|
||||
// main/begin/end statements. Since there is no containing loop body, there is no need to check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue