Added define operator

This commit is contained in:
2024-06-15 11:36:57 +02:00
parent 65791ea5a1
commit cf696a6f10
9 changed files with 51 additions and 51 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 || last.Kind == Operator || t.Kind == Operator {
if last.Kind == Keyword || last.Kind == Separator || last.Kind == Define || t.Kind == Define {
builder.WriteByte(' ')
}