]> Cypherpunks repositories - gostls13.git/commitdiff
gc: fix typo.
authorNigel Tao <nigeltao@golang.org>
Tue, 5 Jun 2012 01:56:32 +0000 (11:56 +1000)
committerNigel Tao <nigeltao@golang.org>
Tue, 5 Jun 2012 01:56:32 +0000 (11:56 +1000)
There already is a "Phase 6" a few lines above.

R=rsc
CC=golang-dev
https://golang.org/cl/6270054

src/cmd/gc/lex.c

index 16dfd7c92cac7753bd42a1dcd7017efa2f24cb9e..73029664209f84e579873f6ec7978ffc1076850c 100644 (file)
@@ -406,7 +406,7 @@ main(int argc, char *argv[])
        if(nsavederrors+nerrors == 0)
                fninit(xtop);
 
-       // Phase 6: Check external declarations.
+       // Phase 7: Check external declarations.
        for(l=externdcl; l; l=l->next)
                if(l->n->op == ONAME)
                        typecheck(&l->n, Erv);