that string token should be an atom
parent
66fe4d7290
commit
357c43fd54
@ -1,14 +0,0 @@
|
||||
package ent
|
||||
|
||||
import (
|
||||
"github.com/jordanorelli/hyperstone/bit"
|
||||
)
|
||||
|
||||
func stringType(spec *typeSpec, env *Env) tÿpe {
|
||||
if spec.typeName != "CUtlStringToken" {
|
||||
return nil
|
||||
}
|
||||
return typeFn(func(r bit.Reader) (value, error) {
|
||||
return bit.ReadVarInt(r), r.Err()
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue