mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-02 12:32:21 +00:00
neaten
This commit is contained in:
parent
606cdf2c5e
commit
0434e06802
1 changed files with 1 additions and 4 deletions
|
|
@ -448,7 +448,6 @@ mlr_dsl_cst_statement_t* mlr_dsl_cst_statement_valloc(
|
|||
void* pvstate)
|
||||
{
|
||||
mlr_dsl_cst_statement_t* pstatement = mlr_malloc_or_die(sizeof(mlr_dsl_cst_statement_t));
|
||||
memset(pstatement, 0, sizeof(*pstatement)); // xxx temp
|
||||
pstatement->past_node = past_node;
|
||||
pstatement->pstatement_handler = pstatement_handler;
|
||||
pstatement->pblock = NULL;
|
||||
|
|
@ -467,7 +466,6 @@ mlr_dsl_cst_statement_t* mlr_dsl_cst_statement_valloc_with_block(
|
|||
void* pvstate)
|
||||
{
|
||||
mlr_dsl_cst_statement_t* pstatement = mlr_malloc_or_die(sizeof(mlr_dsl_cst_statement_t));
|
||||
memset(pstatement, 0, sizeof(*pstatement)); // xxx temp
|
||||
pstatement->past_node = past_node;
|
||||
pstatement->pstatement_handler = pstatement_handler;
|
||||
pstatement->pblock = pblock;
|
||||
|
|
@ -666,8 +664,7 @@ sllv_t* allocate_keylist_evaluators_from_ast_node(
|
|||
{
|
||||
sllv_t* pkeylist_evaluators = sllv_alloc();
|
||||
|
||||
// xxx comment
|
||||
if (pnode->pchildren != NULL) {
|
||||
if (pnode->pchildren != NULL) { // Non-indexed localvars have no child nodes in the AST.
|
||||
for (sllve_t* pe = pnode->pchildren->phead; pe != NULL; pe = pe->pnext) {
|
||||
mlr_dsl_ast_node_t* pkeynode = pe->pvvalue;
|
||||
if (pkeynode->type == MD_AST_NODE_TYPE_STRING_LITERAL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue