]> Cypherpunks repositories - gostls13.git/commitdiff
all: remove redundant spaces before . and ,
authorYury Smolsky <yury@smolsky.by>
Sat, 17 Apr 2021 09:12:28 +0000 (12:12 +0300)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Tue, 20 Apr 2021 00:49:17 +0000 (00:49 +0000)
Change-Id: I6a4bd2544276d0638bddf07ebcf2ee636db30fea
Reviewed-on: https://go-review.googlesource.com/c/go/+/311009
Run-TryBot: Yury Smolsky <yury@smolsky.by>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>

src/cmd/compile/internal/walk/assign.go
src/crypto/sha512/sha512_test.go
src/encoding/asn1/marshal_test.go
src/encoding/gob/decoder.go
src/go/parser/parser.go
src/go/printer/testdata/parser.go
src/hash/crc32/crc32_s390x.s
src/math/big/arith_s390x.s

index 8550cfb5c842de58594c16c4137a2ac8ff33faa2..4ab219f5eae675c9a7b8e6c9d7fed7f9c77fb2c9 100644 (file)
@@ -558,7 +558,7 @@ func appendSlice(n *ir.CallExpr, init *ir.Nodes) ir.Node {
        return s
 }
 
-// isAppendOfMake reports whether n is of the form append(x , make([]T, y)...).
+// isAppendOfMake reports whether n is of the form append(x, make([]T, y)...).
 // isAppendOfMake assumes n has already been typechecked.
 func isAppendOfMake(n ir.Node) bool {
        if base.Flag.N != 0 || base.Flag.Cfg.Instrumenting {
index 74a13331afd0a001f7c1f8826458332607669318..0e1528fc69f6018162473f9223557a7cfbee9d3a 100644 (file)
@@ -788,7 +788,7 @@ func TestMarshalMismatch(t *testing.T) {
                        }
 
                        if err := h2.(encoding.BinaryUnmarshaler).UnmarshalBinary(state); err == nil {
-                               t.Errorf("i=%d, j=%d: got no error , expected one: %v", i, j, err)
+                               t.Errorf("i=%d, j=%d: got no error, expected one: %v", i, j, err)
                        }
                }
        }
index e3a7d8ff007a3452082ee9e4c977ea5b9d4627b8..f0217ba8a5e25c68cd870a97d94c791dc310aa8a 100644 (file)
@@ -306,7 +306,7 @@ func TestIssue11130(t *testing.T) {
                return
        }
        if !reflect.DeepEqual(v, v1) {
-               t.Errorf("got: %#v data=%q , want : %#v data=%q\n ", v1, data1, v, data)
+               t.Errorf("got: %#v data=%q, want : %#v data=%q\n ", v1, data1, v, data)
        }
 }
 
index 7eb3093391f6d5d7616dab98b377745746fafa15..b476aaac93be537f24ef16c72c208bee6538078d 100644 (file)
@@ -218,7 +218,7 @@ func (dec *Decoder) DecodeValue(v reflect.Value) error {
        return dec.err
 }
 
-// If debug.go is compiled into the program , debugFunc prints a human-readable
+// If debug.go is compiled into the program, debugFunc prints a human-readable
 // representation of the gob data read from r by calling that file's Debug function.
 // Otherwise it is nil.
 var debugFunc func(io.Reader)
index cddaef350e828ee22ac85c047bb5be29f6aa54fa..a4db57170ba76168c5ad6a9200936891335cdaf5 100644 (file)
@@ -115,7 +115,7 @@ func (p *parser) next0() {
        // Because of one-token look-ahead, print the previous token
        // when tracing as it provides a more readable output. The
        // very first token (!p.pos.IsValid()) is not initialized
-       // (it is token.ILLEGAL), so don't print it .
+       // (it is token.ILLEGAL), so don't print it.
        if p.trace && p.pos.IsValid() {
                s := p.tok.String()
                switch {
index 80b476cf2ee60fcb1fba429551aa1c42e548cb4d..fc2812adee0c3f6eaa2b363f3d2eeecb3248f50a 100644 (file)
@@ -231,7 +231,7 @@ func (p *parser) next0() {
        // Because of one-token look-ahead, print the previous token
        // when tracing as it provides a more readable output. The
        // very first token (!p.pos.IsValid()) is not initialized
-       // (it is token.ILLEGAL), so don't print it .
+       // (it is token.ILLEGAL), so don't print it.
        if p.trace && p.pos.IsValid() {
                s := p.tok.String()
                switch {
index a168fad27744652b669146bf18ac7f9a156a2c48..8aabc602a7b7659381c823d82018b47707011109 100644 (file)
@@ -217,7 +217,7 @@ final_fold:
        // V2 and XOR the intermediate result, T2(x),  with the value in V1.
        // The final result is in the rightmost word of V2.
 
-       VUPLLF  V2 , V2
+       VUPLLF  V2, V2
        VGFMAG  CONST_CRC_POLY, V2, V1, V2
 
 done:
index caa4db08293e5781bd2a4844389e59a524345193..e96480699af182f454d31ee61fc8981bfe3b6acf 100644 (file)
@@ -18,7 +18,7 @@ TEXT ·mulWW(SB), NOSPLIT, $0
        RET
 
 
-// DI = R3, CX = R4, SI = r10, r8 = r8, r9=r9, r10 = r2 , r11 = r5, r12 = r6, r13 = r7, r14 = r1 (R0 set to 0) + use R11
+// DI = R3, CX = R4, SI = r10, r8 = r8, r9=r9, r10 = r2, r11 = r5, r12 = r6, r13 = r7, r14 = r1 (R0 set to 0) + use R11
 // func addVV(z, x, y []Word) (c Word)
 
 TEXT ·addVV(SB), NOSPLIT, $0
@@ -288,7 +288,7 @@ vectorimpl:
 GLOBL subvectorfacility+0x00(SB), NOPTR, $8
 DATA subvectorfacility+0x00(SB)/8, $·subVV_check(SB)
 
-// DI = R3, CX = R4, SI = r10, r8 = r8, r9=r9, r10 = r2 , r11 = r5, r12 = r6, r13 = r7, r14 = r1 (R0 set to 0) + use R11
+// DI = R3, CX = R4, SI = r10, r8 = r8, r9=r9, r10 = r2, r11 = r5, r12 = r6, r13 = r7, r14 = r1 (R0 set to 0) + use R11
 // func subVV(z, x, y []Word) (c Word)
 // (same as addVV except for SUBC/SUBE instead of ADDC/ADDE and label names)
 TEXT ·subVV_vec(SB), NOSPLIT, $0
@@ -442,7 +442,7 @@ E1:
        MOVD R4, c+72(FP) // return c
        RET
 
-// DI = R3, CX = R4, SI = r10, r8 = r8, r9=r9, r10 = r2 , r11 = r5, r12 = r6, r13 = r7, r14 = r1 (R0 set to 0) + use R11
+// DI = R3, CX = R4, SI = r10, r8 = r8, r9=r9, r10 = r2, r11 = r5, r12 = r6, r13 = r7, r14 = r1 (R0 set to 0) + use R11
 // func subVV(z, x, y []Word) (c Word)
 // (same as addVV except for SUBC/SUBE instead of ADDC/ADDE and label names)
 TEXT ·subVV_novec(SB), NOSPLIT, $0
@@ -699,7 +699,7 @@ TEXT ·shlVU(SB), NOSPLIT, $0
 TEXT ·shrVU(SB), NOSPLIT, $0
        BR ·shrVU_g(SB)
 
-// CX = R4, r8 = r8, r9=r9, r10 = r2 , r11 = r5, DX = r3, AX = r6 , BX = R1 , (R0 set to 0) + use R11 + use R7 for i
+// CX = R4, r8 = r8, r9=r9, r10 = r2, r11 = r5, DX = r3, AX = r6, BX = R1, (R0 set to 0) + use R11 + use R7 for i
 // func mulAddVWW(z, x []Word, y, r Word) (c Word)
 TEXT ·mulAddVWW(SB), NOSPLIT, $0
        MOVD z+0(FP), R2
@@ -729,7 +729,7 @@ E5:
        RET
 
 // func addMulVVW(z, x []Word, y Word) (c Word)
-// CX = R4, r8 = r8, r9=r9, r10 = r2 , r11 = r5, AX = r11, DX = R6, r12=r12, BX = R1 , (R0 set to 0) + use R11 + use R7 for i
+// CX = R4, r8 = r8, r9=r9, r10 = r2, r11 = r5, AX = r11, DX = R6, r12=r12, BX = R1, (R0 set to 0) + use R11 + use R7 for i
 TEXT ·addMulVVW(SB), NOSPLIT, $0
        MOVD z+0(FP), R2
        MOVD x+24(FP), R8