codec: have lexers return io.EOF when encountered
Issue #225
resolved
Lexers currently return nil when an io.EOF is encountered. This does not seem right… the caller of the lexer should decide what to do with io.EOFs not the lexers.
Comments (3)
-
-
This needs to be more fully detailed before it's a correct bug.
-
reporter - changed status to resolved
Resolved in PR #330
- Log in to comment
Agreed. It should be possible for callers to call the shots.