update + repl fixed + bugfixes

This commit is contained in:
Neemek 2026-07-10 21:15:28 +02:00
parent d315a53fbd
commit 828ebb23c0
Signed by: neemek
GPG key ID: 84FFE4D7D40AB25E
10 changed files with 138 additions and 124 deletions

View file

@ -343,7 +343,7 @@ func (p *Parser) expression(mustBeBlock bool) (Node, error) {
yield,
logic,
start,
start + p.prev.End,
p.prev.End,
}
if name != nil {
@ -352,7 +352,7 @@ func (p *Parser) expression(mustBeBlock bool) (Node, error) {
fn,
true,
start,
start + p.prev.End,
p.prev.End,
}, nil
}