diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-23 19:53:44 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-23 19:53:44 -0400 |
| commit | 31249ee3c9626b5d89b1e3dd446885746370bf6a (patch) | |
| tree | e74123c157cdb2de914ba8f1604598e3c71722a6 /src/parse.c | |
| parent | 4edddb7a3bb861a2bcb61af16395f5c9231cdd97 (diff) | |
Don't align trailing comments
Diffstat (limited to 'src/parse.c')
| -rw-r--r-- | src/parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |
