]> Cypherpunks.ru repositories - gostls13.git/commit
update code to follow new semicolon rules:
authorRuss Cox <rsc@golang.org>
Tue, 7 Oct 2008 19:31:31 +0000 (12:31 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 7 Oct 2008 19:31:31 +0000 (12:31 -0700)
commit983f06bdb657d1abf79effc1454f8c94754363aa
tree133422e9724c37fc7aac2fcf9f1c52b230af51ef
parent7ee60b174dd92edca7e608dc06ec4f1b2d0eb79f
update code to follow new semicolon rules:

 *  1. all statements and declarations are terminated by semicolons
 *  2. semicolons can be omitted at top level.
 *  3. semicolons can be omitted before and after the closing ) or }
 * on a list of statements or declarations.

/home/rsc/bin/addsemi and then diff+tweak.

R=r,gri
OCL=16620
CL=16643
38 files changed:
src/lib/bufio.go
src/lib/flag.go
src/lib/io.go
src/lib/net/fd.go
src/lib/net/fd_darwin.go
src/lib/net/fd_linux.go
src/lib/net/ip.go
src/lib/net/net.go
src/lib/net/net_darwin.go
src/lib/net/net_linux.go
src/lib/once.go
src/lib/os/os_error.go
src/lib/os/os_file.go
src/lib/os/os_time.go
src/lib/rand.go
src/lib/syscall/errstr_darwin.go
src/lib/syscall/file_darwin.go
src/lib/syscall/file_linux.go
src/lib/syscall/socket_darwin.go
src/lib/syscall/socket_linux.go
src/lib/time/time.go
src/lib/time/zoneinfo.go
test/bufiolib.go
test/bugs/bug102.go
test/bugs/bug111.go
test/chan/powser1.go
test/chan/sieve.go
test/dialgoogle.go
test/fixedbugs/bug055.go
test/fixedbugs/bug067.go
test/ken/chan.go
test/ken/rob2.go
test/method.go
test/readfile.go
test/sieve.go
test/tcpserver.go
test/timelib.go
usr/gri/gosrc/compilation.go