feat!: rework the public API to json/v2-style variadic options
Test / test (push) Successful in 1m49s
Test / test (push) Successful in 1m49s
Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -726,7 +726,7 @@ func (p *parser) parseAtom() (any, error) {
|
||||
if err != nil {
|
||||
return nil, p.errf("%s", err)
|
||||
}
|
||||
// The token's shape is validated either way; UseNumber only keeps the
|
||||
// The token's shape is validated either way; NumbersAsLiterals only keeps the
|
||||
// literal instead of the evaluated value.
|
||||
if p.useNumber {
|
||||
return Number(tok), nil
|
||||
|
||||
Reference in New Issue
Block a user