From 65ec16b637b5d37dece0395c485cf82c175917ff Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 29 May 2009 15:46:03 -0700 Subject: [PATCH] Automated g4 rollback of changelist 29478. *** Reason for rollback *** these semicolons are necessary only because of a bug in 6g *** Original change description *** add missing semicolons in example TBR=gri OCL=29624 CL=29624 --- doc/go_spec.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 78be5584b34..48672024bc4 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3270,14 +3270,14 @@ and the variables are initialized once before the statement is entered.
 switch tag {
-default: s3();
-case 0, 1, 2, 3: s1();
-case 4, 5, 6, 7: s2();
+default: s3()
+case 0, 1, 2, 3: s1()
+case 4, 5, 6, 7: s2()
 }
 
 switch x := f(); {
-case x < 0: return -x;
-default: return x;
+case x < 0: return -x
+default: return x
 }
 
 switch {          // missing expression means "true"