Commit 091fb779 authored by Rob Pike's avatar Rob Pike

Protocol buffer encoding.

R=rsc
DELTA=1075  (1028 added, 31 deleted, 16 changed)
OCL=18865
CL=18918
parent 176e256b
...@@ -561,8 +561,8 @@ type Parser struct { ...@@ -561,8 +561,8 @@ type Parser struct {
index int; // next character position in str index int; // next character position in str
} }
// Return typestring starting at position i. // Return typestring starting at position i. It will finish at the
// Trim trailing blanks. // end of the previous token (before trailing white space).
func (p *Parser) TypeString(i int) string { func (p *Parser) TypeString(i int) string {
return p.str[i:p.prevend]; return p.str[i:p.prevend];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment