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
This commit is contained in:
Russ Cox 2008-10-07 12:31:31 -07:00
parent 7ee60b174d
commit 983f06bdb6
38 changed files with 430 additions and 430 deletions

View file

@ -16,7 +16,7 @@ var ErrorTab = new(map[int64] *Error);
export func NewError(s string) *Error {
e := new(Error);
e.s = s
e.s = s;
return e
}
@ -24,7 +24,7 @@ export func ErrnoToError(errno int64) *Error {
if errno == 0 {
return nil
}
err, ok := ErrorTab[errno]
err, ok := ErrorTab[errno];
if ok {
return err
}