summaryrefslogtreecommitdiff
path: root/libgo/go/encoding/csv
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-30 21:27:11 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-30 21:27:11 +0000
commit29f40c0d4065a0f30bbd1d4c4c45e742d42cffb0 (patch)
tree9a0dfa827abe382ac0f44768e5365b87f00ac0a9 /libgo/go/encoding/csv
parent9731acf5058127b5cd40d79134497c798f9188a1 (diff)
downloadgcc-29f40c0d4065a0f30bbd1d4c4c45e742d42cffb0.tar.gz
libgo: Update to weekly.2012-03-13.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/encoding/csv')
-rw-r--r--libgo/go/encoding/csv/reader.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/go/encoding/csv/reader.go b/libgo/go/encoding/csv/reader.go
index 9aa398e58b2..db4d988526f 100644
--- a/libgo/go/encoding/csv/reader.go
+++ b/libgo/go/encoding/csv/reader.go
@@ -92,7 +92,8 @@ var (
// If FieldsPerRecord is positive, Read requires each record to
// have the given number of fields. If FieldsPerRecord is 0, Read sets it to
// the number of fields in the first record, so that future records must
-// have the same field count.
+// have the same field count. If FieldsPerRecord is negative, no check is
+// made and records may have a variable number of fields.
//
// If LazyQuotes is true, a quote may appear in an unquoted field and a
// non-doubled quote may appear in a quoted field.