Added short form for variable definitions

This commit is contained in:
2024-06-14 18:03:54 +02:00
parent 6de8ac7b9f
commit 65791ea5a1
6 changed files with 76 additions and 33 deletions

View File

@ -13,7 +13,7 @@ func (list List) String() string {
var last Token
for _, t := range list {
if last.Kind == Keyword || last.Kind == Separator {
if last.Kind == Keyword || last.Kind == Separator || last.Kind == Operator || t.Kind == Operator {
builder.WriteByte(' ')
}