diff options
| author | Graydon Hoare <[email protected]> | 2010-07-23 11:37:38 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-23 11:37:38 -0700 |
| commit | 4d4fa99b314c78ff50f744beace5f2b62b211df1 (patch) | |
| tree | 5cd953a82b72003701b7414967d99af18a631dc6 /src/boot/me/walk.ml | |
| parent | Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and r... (diff) | |
| download | rust-4d4fa99b314c78ff50f744beace5f2b62b211df1.tar.xz rust-4d4fa99b314c78ff50f744beace5f2b62b211df1.zip | |
Rename STMT_init_* to STMT_new_*; former name was confusing.
Diffstat (limited to 'src/boot/me/walk.ml')
| -rw-r--r-- | src/boot/me/walk.ml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/boot/me/walk.ml b/src/boot/me/walk.ml index acdb9371..0e65406a 100644 --- a/src/boot/me/walk.ml +++ b/src/boot/me/walk.ml @@ -384,30 +384,30 @@ and walk_stmt Ast.STMT_log a -> walk_atom v a - | Ast.STMT_init_rec (lv, atab, base) -> + | Ast.STMT_new_rec (lv, atab, base) -> walk_lval v lv; Array.iter (fun (_, _, a) -> walk_atom v a) atab; walk_option (walk_lval v) base; - | Ast.STMT_init_vec (lv, _, atoms) -> + | Ast.STMT_new_vec (lv, _, atoms) -> walk_lval v lv; Array.iter (walk_atom v) atoms - | Ast.STMT_init_tup (lv, mut_atoms) -> + | Ast.STMT_new_tup (lv, mut_atoms) -> walk_lval v lv; Array.iter (fun (_, atom) -> walk_atom v atom) mut_atoms - | Ast.STMT_init_str (lv, _) -> + | Ast.STMT_new_str (lv, _) -> walk_lval v lv - | Ast.STMT_init_port lv -> + | Ast.STMT_new_port lv -> walk_lval v lv - | Ast.STMT_init_chan (chan,port) -> + | Ast.STMT_new_chan (chan,port) -> walk_option (walk_lval v) port; walk_lval v chan; - | Ast.STMT_init_box (dst, _, src) -> + | Ast.STMT_new_box (dst, _, src) -> walk_lval v dst; walk_atom v src |