nob 实现最后一步编译框架 移动测试用例 准备for的新语法
This commit is contained in:
1 parent
c4d1bbae92
commit
bb8761d392
92 files changed
+803
-27
No files matched your search
@@ -96,6 +96,7 @@ type Body = enum {
|
||||
label: usize,
|
||||
iter_exprs: Vec,
|
||||
pattern: usize,
|
||||
pattern_type: usize,
|
||||
body: usize,
|
||||
else_branch: usize,
|
||||
},
|
||||
@@ -546,6 +547,7 @@ fn dump_node(ast: *Ast, buf: *ByteBuffer, stack: *Vec, ref: usize, last: bool):
|
||||
ok = dump_opt(ast, buf, stack, f.label, false) &&
|
||||
dump_list(ast, buf, stack, f.iter_exprs) &&
|
||||
dump_opt(ast, buf, stack, f.pattern, false) &&
|
||||
dump_opt(ast, buf, stack, f.pattern_type, true) &&
|
||||
dump_opt(ast, buf, stack, f.body, false) &&
|
||||
dump_opt(ast, buf, stack, f.else_branch, true);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user