diff --git a/node.go b/node.go index cd19832..d339156 100644 --- a/node.go +++ b/node.go @@ -1325,6 +1325,15 @@ func (this *conversionState) resolveName(n node.Node) (string, error) { } else if strings.ToLower(ret) == "static" { return "", parseErr{n, fmt.Errorf("'static::' is not yet supported")} + } else if strings.ToLower(ret) == "true" { + return "true", nil + + } else if strings.ToLower(ret) == "false" { + return "false", nil + + } else if strings.ToLower(ret) == "null" { + return "nil", nil + } return ret, nil