diff options
| author | WormHeamer | 2025-08-04 03:28:53 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-04 03:28:53 -0400 |
| commit | 7df7f08dca9c54ea93839300e7b4c78289baf640 (patch) | |
| tree | b4339f0d3cdb8fbb1f61ab9a07db0ce85333a3e4 /main.c | |
| parent | ff64edc488c5b7b44dfecfecc03fb4cc26c4da19 (diff) | |
add optimizations based on only partially known values
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -180,6 +180,8 @@ Node *parse_term(Lexer *l, Proc *p) { node = parse_expr(l, p); lex_expected(l, TM_RPAREN); lex_next(l); + node->src_pos.ofs--; + node->src_pos.n += 2; } else if (l->tok == TOK_IDENT) { NameBinding *b = scope_find(&p->scope, l->ident); if (b) { |
