| author | |
| committer | |
| log | fc91e20a929580012b00146244103b3fb38b26ff |
| tree | ebfa62a99d7f37a1d824899b09801d35139a2a1a |
| parent | a13451232ed898228f9fed468cc815a5c6ebf18c |
2 files changed, 5 insertions(+), 0 deletions(-)
src/astgen.zig+4| ... | ... | @@ -33,6 +33,10 @@ pub const Block = struct { |
| 33 | 33 | |
| 34 | 34 | pub const Type = enum { |
| 35 | 35 | each, |
| 36 | @"if", | |
| 37 | ifnot, | |
| 38 | ifequal, | |
| 39 | ifnotequal, | |
| 36 | 40 | }; |
| 37 | 41 | }; |
| 38 | 42 |
src/lib.zig+1| ... | ... | @@ -91,6 +91,7 @@ fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype |
| 91 | 91 | } |
| 92 | 92 | } |
| 93 | 93 | }, |
| 94 | else => @compileError("pek: block: TODO " ++ @tagName(v.name)), | |
| 94 | 95 | } |
| 95 | 96 | }, |
| 96 | 97 | else => unreachable, |