| ... | ... | @@ -111,12 +111,12 @@ fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype |
| 111 | 111 | .ifequal => { |
| 112 | 112 | comptime assertEqual(v.args.len, 2); |
| 113 | 113 | const y = if (comptime std.mem.eql(u8, v.args[1][0], "this")) search(v.args[1][1..], data) else search(v.args[1], ctx); |
| 114 | | if (x == y) try do(writer, body, data, ctx, indent, flag1); |
| 114 | try doif(writer, body, bottom, data, ctx, indent, flag1, x == y, true); |
| 115 | 115 | }, |
| 116 | 116 | .ifnotequal => { |
| 117 | 117 | comptime assertEqual(v.args.len, 2); |
| 118 | 118 | const y = if (comptime std.mem.eql(u8, v.args[1][0], "this")) search(v.args[1][1..], data) else search(v.args[1], ctx); |
| 119 | | if (x != y) try do(writer, body, data, ctx, indent, flag1); |
| 119 | try doif(writer, body, bottom, data, ctx, indent, flag1, x != y, true); |
| 120 | 120 | }, |
| 121 | 121 | } |
| 122 | 122 | }, |