This commit is contained in:
Josh Deprez 2021-08-30 15:50:22 +10:00
parent 5a840950a0
commit 3a4a48e2c6

View file

@ -137,7 +137,7 @@ func (g *Game) cmdQuery(dst io.Writer, argv []string) {
for c := range x { for c := range x {
i, ok := c.(Identifier) i, ok := c.(Identifier)
if ok { if ok {
fmt.Fprintf(dst, "%T %s\n", c, i.Ident()) fmt.Fprintf(dst, "%T %q\n", c, i.Ident())
} else { } else {
fmt.Fprintf(dst, "%T\n", c) fmt.Fprintf(dst, "%T\n", c)
} }