From: Rob Pike Date: Thu, 28 May 2009 01:31:28 +0000 (-0700) Subject: add missing semicolons in example X-Git-Tag: weekly.2009-11-06~1523 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c4a74b0b4aedc7177bbcb5632eb63eed55a458ef;p=gostls13.git add missing semicolons in example R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=29475 CL=29478 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 48672024bc..78be5584b3 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"