From aa5861917ac2543f85bf4cfefbb69cf501d4de41 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 26 Jan 2026 18:44:29 +0100 Subject: fix: improve multi assign Do not consider assign operators in expression handling, they are part of statements. Isolate parsing of left hand side and right hand side in assignments. --- comp/compiler.go | 1 - 1 file changed, 1 deletion(-) (limited to 'comp') diff --git a/comp/compiler.go b/comp/compiler.go index 4817914..37ed0bd 100644 --- a/comp/compiler.go +++ b/comp/compiler.go @@ -262,7 +262,6 @@ func (c *Compiler) Generate(tokens parser.Tokens) (err error) { // It could be either an undefined symbol or a key ident in a literal composite expr. s = &symbol.Symbol{Name: t.Str} } - log.Println("Ident symbol", t.Str, s.Local, s.Index, s.Type) push(s) if s.Kind == symbol.Pkg || s.Kind == symbol.Unset { break -- cgit v1.2.3