]> Cypherpunks repositories - gostls13.git/commitdiff
scanner: better comment
authorRobert Griesemer <gri@golang.org>
Thu, 29 Jul 2010 20:02:27 +0000 (13:02 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 29 Jul 2010 20:02:27 +0000 (13:02 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1900044

src/pkg/scanner/scanner.go

index f60a4eed27bbe18e007c3b7f154fd7103e3807e5..a1aa109cb2490f17399258f1e1e60d9def98f29e 100644 (file)
@@ -158,7 +158,7 @@ type Scanner struct {
        ErrorCount int
 
        // The Mode field controls which tokens are recognized. For instance,
-       // to recognize Ints, set the (1<<-Int) bit in Mode. The field may be
+       // to recognize Ints, set the ScanInts bit in Mode. The field may be
        // changed at any time.
        Mode uint