From 31249ee3c9626b5d89b1e3dd446885746370bf6a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 23 Aug 2025 19:53:44 -0400 Subject: Don't align trailing comments --- src/parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/parse.c') diff --git a/src/parse.c b/src/parse.c index 9f6f1581..4eb09695 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1428,7 +1428,7 @@ PARSER(parse_term_no_suffix) { spaces(&pos); ast_t *term = NULL; (void)(false || (term = parse_none(ctx, pos)) || (term = parse_num(ctx, pos)) // Must come before int - || (term = parse_int(ctx, pos)) || (term = parse_negative(ctx, pos)) // Must come after num/int + || (term = parse_int(ctx, pos)) || (term = parse_negative(ctx, pos)) // Must come after num/int || (term = parse_heap_alloc(ctx, pos)) || (term = parse_stack_reference(ctx, pos)) || (term = parse_bool(ctx, pos)) || (term = parse_text(ctx, pos)) || (term = parse_path(ctx, pos)) || (term = parse_lambda(ctx, pos)) || (term = parse_parens(ctx, pos)) || (term = parse_table(ctx, pos)) @@ -1554,10 +1554,10 @@ ast_e match_binary_operator(const char **pos) { case '<': { *pos += 1; if (match(pos, "=")) return LessThanOrEquals; // "<=" - else if (match(pos, ">")) return Compare; // "<>" + else if (match(pos, ">")) return Compare; // "<>" else if (match(pos, "<")) { if (match(pos, "<")) return UnsignedLeftShift; // "<<<" - return LeftShift; // "<<" + return LeftShift; // "<<" } else return LessThan; } case '>': { @@ -1565,7 +1565,7 @@ ast_e match_binary_operator(const char **pos) { if (match(pos, "=")) return GreaterThanOrEquals; // ">=" if (match(pos, ">")) { if (match(pos, ">")) return UnsignedRightShift; // ">>>" - return RightShift; // ">>" + return RightShift; // ">>" } return GreaterThan; } -- cgit v1.2.3