From d4f4656470e56d7d4dc35ecef1841f989745b24f Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Mon, 11 Aug 2008 22:07:49 -0700 Subject: fix bug depot: 1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106 --- test/turing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/turing.go') diff --git a/test/turing.go b/test/turing.go index c622bfb74..462bb9168 100644 --- a/test/turing.go +++ b/test/turing.go @@ -24,7 +24,7 @@ func main() { case '-': a[p]--; case '.': - print string(a[p]); + print(string(a[p])); case '[': if a[p] == 0 { for nest := 1; nest > 0; pc++ { -- cgit v1.2.1