diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-05-24 01:12:22 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2014-06-18 12:06:46 -0700 |
| commit | d41058ed39fcd7e15ce9d0e7705643da85c94271 (patch) | |
| tree | 61a682dd630799844d3252276ac2c37a25c241eb /src/libsyntax/parse/parser.rs | |
| parent | 0f481db211dd03b0d8aad4ce29e211f78de340d4 (diff) | |
| download | rust-d41058ed39fcd7e15ce9d0e7705643da85c94271.tar.gz rust-d41058ed39fcd7e15ce9d0e7705643da85c94271.zip | |
Don't require mutable StringReader to emit lexer errors
Teach StringReader how to emit errors for arbitrary spans, so we don't need to modify peek_span. This allows for emitting errors without having a &mut borrow of the StringReader.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
