mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
refactor
This commit is contained in:
@@ -1438,10 +1438,7 @@ const update_children_not_rec = (node, children = node.children) => {
|
||||
is_statement: true,
|
||||
}
|
||||
} else if(node.type == 'do'){
|
||||
return {...node,
|
||||
stmts: children,
|
||||
is_statement: true,
|
||||
}
|
||||
return {...node, is_statement: true}
|
||||
} else if(node.type == 'function_decl'){
|
||||
return {...node,
|
||||
is_statement: true,
|
||||
|
||||
Reference in New Issue
Block a user