]> Cypherpunks repositories - gostls13.git/commit
cmd/yacc: use %q to print strings in Toknames
authorRob Pike <r@golang.org>
Mon, 10 Aug 2015 05:17:18 +0000 (15:17 +1000)
committerRob Pike <r@golang.org>
Tue, 11 Aug 2015 00:26:05 +0000 (00:26 +0000)
commit546836556d202c9667ad6530710bae6a982d427e
treef8e74f03c906197e34fa3951a4509cbc0bdcbb8d
parent8389e7cfa927b1560bf036caf00ec66a6b373d57
cmd/yacc: use %q to print strings in Toknames

Fixes #12086

Belongs in 1.5

There remains a question of why the Statenames table's elements
are not printed. What purpose does that serve?

Change-Id: I83fd57b81d5e5065c3397a66ed457fc0d1c041bd
Reviewed-on: https://go-review.googlesource.com/13462
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/yacc/yacc.go