mirror of
https://github.com/golang/go
synced 2024-10-03 18:21:21 -06:00
Protocol buffer encoding.
R=rsc DELTA=1075 (1028 added, 31 deleted, 16 changed) OCL=18865 CL=18918
This commit is contained in:
parent
176e256b26
commit
091fb779a1
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user