Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
V-FEXrt committed Aug 27, 2024
1 parent 9033d95 commit 72bc0e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/wake-format/emitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,8 @@ wcl::doc Emitter::walk_binary(ctx_t ctx, CSTElement node) {
if (is_binop_matching_str(op_token, TOKEN_OP_OR, "|>") ||
is_binop_matching_str(op_token, TOKEN_OP_OR, "|<") ||
is_binop_matching_str(op_token, TOKEN_OP_OR, "|")) {
parts = collect_left_binary({{TOKEN_OP_OR, "|>"}, {TOKEN_OP_OR, "|<"}, {TOKEN_OP_OR, "|"}}, node);
parts =
collect_left_binary({{TOKEN_OP_OR, "|>"}, {TOKEN_OP_OR, "|<"}, {TOKEN_OP_OR, "|"}}, node);
} else {
parts = collect_left_binary({{op_token.id(), op_token.fragment().segment().str()}}, node);
}
Expand Down

0 comments on commit 72bc0e1

Please sign in to comment.