mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
std: improve rand implementation and API
This commit is contained in:
1 parent
bc81ddfea6
commit
06c4b35eb1
9 files changed
+201
-80
No files matched your search
@@ -3301,6 +3301,8 @@ AstNode *ast_clone_subtree_special(AstNode *old_node, uint32_t *next_node_index,
|
||||
case NodeTypeWhileExpr:
|
||||
clone_subtree_field(&new_node->data.while_expr.condition, old_node->data.while_expr.condition, next_node_index);
|
||||
clone_subtree_field(&new_node->data.while_expr.body, old_node->data.while_expr.body, next_node_index);
|
||||
clone_subtree_field(&new_node->data.while_expr.continue_expr,
|
||||
old_node->data.while_expr.continue_expr, next_node_index);
|
||||
break;
|
||||
case NodeTypeForExpr:
|
||||
clone_subtree_field(&new_node->data.for_expr.elem_node, old_node->data.for_expr.elem_node, next_node_index);
|
||||
|
||||
Reference in new issue
Block a user