Fixed misspell

This commit is contained in:
Evgeny Proydakov
2017-03-23 18:25:19 +03:00
parent f2d0ac3ef9
commit ffd2765b61
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ func (r *readCloser) Read(p []byte) (n int, err error) {
}
func (r *readCloser) Close() error {
// Release all remainig buffers.
// Release all remaining buffers.
for _, buf := range r.bufs {
putBuf(buf)
}
+2 -2
View File
@@ -48,8 +48,8 @@ type Lexer struct {
wantSep byte // A comma or a colon character, which need to occur before a token.
UseMultipleErrors bool // If we want to use multiple errors.
fatalError error // Fatal error occured during lexing. It is usually a syntax error.
multipleErrors []*LexerError // Semantic errors occured during lexing. Marshalling will be continued after finding this errors.
fatalError error // Fatal error occurred during lexing. It is usually a syntax error.
multipleErrors []*LexerError // Semantic errors occurred during lexing. Marshalling will be continued after finding this errors.
}
// FetchToken scans the input for the next token.