diff options
| author | Rob Pike <r@golang.org> | 2008-11-10 14:47:28 -0800 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2008-11-10 14:47:28 -0800 |
| commit | 091fb779a1600994d7ddb7e02b4a9f124e8cecf1 (patch) | |
| tree | a5aec3ff8b55fa3e9faec9273f536c9c34215789 /src/lib/reflect | |
| parent | 176e256b264fcbd1be1c30a56b720b5437ec1041 (diff) | |
| download | go-091fb779a1600994d7ddb7e02b4a9f124e8cecf1.tar.xz | |
Protocol buffer encoding.
R=rsc
DELTA=1075 (1028 added, 31 deleted, 16 changed)
OCL=18865
CL=18918
Diffstat (limited to 'src/lib/reflect')
| -rw-r--r-- | src/lib/reflect/type.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/reflect/type.go b/src/lib/reflect/type.go index 8b5e88f97b..279f6f3150 100644 --- a/src/lib/reflect/type.go +++ b/src/lib/reflect/type.go @@ -561,8 +561,8 @@ type Parser struct { index int; // next character position in str } -// Return typestring starting at position i. -// Trim trailing blanks. +// Return typestring starting at position i. It will finish at the +// end of the previous token (before trailing white space). func (p *Parser) TypeString(i int) string { return p.str[i:p.prevend]; } |
