]> Cypherpunks repositories - gostls13.git/commitdiff
removed bogus if-statement
authorRobert Griesemer <gri@golang.org>
Fri, 12 Jun 2009 22:17:39 +0000 (15:17 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 12 Jun 2009 22:17:39 +0000 (15:17 -0700)
R=iant
DELTA=3  (0 added, 3 deleted, 0 changed)
OCL=30251
CL=30251

src/pkg/go/parser/parser.go

index 11c0ee1725a9e7ab847a0e0e4d940dedac7b15bd..6c607f47316152c27b4fd176c771387d27ddc55c 100644 (file)
@@ -465,9 +465,6 @@ func (p *parser) parseStructType() *ast.StructType {
                                break;
                        }
                }
-               if p.tok == token.SEMICOLON {
-                       p.next();
-               }
 
                rbrace = p.expect(token.RBRACE);
                p.opt_semi = true;