dict-set-context.go: espansione del valore prodotto

This commit is contained in:
Celestino Amoroso 2024-02-20 10:47:28 +01:00
parent 0ff4d8b1a9
commit db726467c6

View File

@ -5,8 +5,8 @@ import (
"fmt"
"strings"
sq "github.com/kballard/go-shellquote"
"git.portale-stac.it/go-pkg/utils"
sq "github.com/kballard/go-shellquote"
)
type DictSetFlag uint16
@ -101,7 +101,8 @@ func (self *DictSetContext) Handle(spec string, scanFlags ScannerFlag) (value st
if len(rawValue) == 0 && (self.flags&KeepVar) != 0 {
value = Var(name)
} else {
value = rawValue
value, err = Scan(self, rawValue)
//value = rawValue
}
}
}
@ -134,4 +135,3 @@ func (self *DictSetContext) evalContent(varFound bool, rawValue string, alternat
}
return
}