about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-05-24 01:12:22 -0700
committerKevin Ballard <kevin@sb.org>2014-06-18 12:06:46 -0700
commitd41058ed39fcd7e15ce9d0e7705643da85c94271 (patch)
tree61a682dd630799844d3252276ac2c37a25c241eb /src/libsyntax/parse/parser.rs
parent0f481db211dd03b0d8aad4ce29e211f78de340d4 (diff)
downloadrust-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