]> Cypherpunks repositories - gostls13.git/commitdiff
go/scanner: fix documentation
authorRobert Griesemer <gri@golang.org>
Wed, 11 Jan 2012 02:31:27 +0000 (18:31 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 11 Jan 2012 02:31:27 +0000 (18:31 -0800)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5528070

src/pkg/go/scanner/scanner.go

index 7fb0104e450a51d74df116cd347a137e0ccdbbb1..34d04426354de72f1156273d405adfaf10a3f6b6 100644 (file)
@@ -104,7 +104,7 @@ const (
 // Calls to Scan will use the error handler err if they encounter a
 // syntax error and err is not nil. Also, for each error encountered,
 // the Scanner field ErrorCount is incremented by one. The mode parameter
-// determines how comments, illegal characters, and semicolons are handled.
+// determines how comments and semicolons are handled.
 //
 // Note that Init may call err if there is an error in the first character
 // of the file.