mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 22:09:49 +00:00
remove .Cancel correct merge err set parsing
This commit is contained in:
parent
5dd3c8eed6
commit
5e5dee829d
@ -1591,7 +1591,6 @@ pub const Node = struct {
|
||||
Await,
|
||||
BitNot,
|
||||
BoolNot,
|
||||
Cancel,
|
||||
OptionalType,
|
||||
Negation,
|
||||
NegationWrap,
|
||||
@ -1661,7 +1660,6 @@ pub const Node = struct {
|
||||
Op.Await,
|
||||
Op.BitNot,
|
||||
Op.BoolNot,
|
||||
Op.Cancel,
|
||||
Op.OptionalType,
|
||||
Op.Negation,
|
||||
Op.NegationWrap,
|
||||
|
||||
@ -2181,7 +2181,7 @@ fn parseMultiplyOp(arena: *Allocator, it: *TokenIterator, tree: *Tree) !?*Node {
|
||||
|
||||
const token = nextToken(it);
|
||||
const op = switch (token.ptr.id) {
|
||||
.PipePipe => ops{ .BoolOr = {} },
|
||||
.PipePipe => ops{ .MergeErrorSets = {} },
|
||||
.Asterisk => ops{ .Mul = {} },
|
||||
.Slash => ops{ .Div = {} },
|
||||
.Percent => ops{ .Mod = {} },
|
||||
|
||||
@ -583,7 +583,6 @@ fn renderExpression(
|
||||
},
|
||||
|
||||
.Try,
|
||||
.Cancel,
|
||||
.Resume,
|
||||
=> {
|
||||
try renderToken(tree, stream, prefix_op_node.op_token, indent, start_col, Space.Space);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user