summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2014-01-03libsyntax: De-`@mut` `CurrentCommentAndLiteral`Patrick Walton-3/+3
2014-01-03libsyntax: De-`@mut` the resolve tablePatrick Walton-5/+8
2014-01-03libsyntax: De-`@mut` the handlerPatrick Walton-16/+16
2014-01-03libsyntax: De-`@mut` `HandlerT::err_count`Patrick Walton-7/+8
2014-01-03libsyntax: De-`@mut` `TtFrame`Patrick Walton-7/+7
2014-01-03libsyntax: De-`@mut` `TtFrame::idx`Patrick Walton-14/+14
2014-01-03librustc: De-`@mut` all writersPatrick Walton-14/+35
2014-01-03librustc: De-`@mut` (and de-`@`) the pretty printerPatrick Walton-394/+418
2014-01-03librustc: De-`@mut` the span handlerPatrick Walton-33/+29
2014-01-03libsyntax: De-`@mut` `StringReader`, `TtReader`, and `reader`Patrick Walton-87/+77
2014-01-03libsyntax: De-`@mut` `TtReader::stack`Patrick Walton-24/+24
2014-01-03libsyntax: De-`@mut` `TtReader::cur_span`Patrick Walton-12/+13
2014-01-03libsyntax: De-`@mut` `TtReader::cur_tok`Patrick Walton-10/+14
2014-01-03libsyntax: De-`@mut` `TtReader::repeat_len`Patrick Walton-5/+8
2014-01-03libsyntax: De-`@mut` `TtReader::repeat_idx`Patrick Walton-17/+29
2014-01-03libsyntax: De-`@mut` `TtReader::interpolations`Patrick Walton-4/+9
2014-01-03libsyntax: De-`@mut` `StringReader::peek_span`Patrick Walton-9/+10
2014-01-03libsyntax: De-`@mut` `StringReader::peek_tok`Patrick Walton-10/+13
2014-01-03libsyntax: De-`@mut` `StringReader::curr`Patrick Walton-76/+80
2014-01-03libsyntax: De-`@mut` `StringReader::col`Patrick Walton-7/+7
2014-01-03libsyntax: De-`@mut` `StringReader::last_pos`Patrick Walton-48/+54
2014-01-03libsyntax: De-`@mut` `StringReader::pos`Patrick Walton-13/+14
2014-01-03librustc: De-`@mut` the parse sessionPatrick Walton-45/+44
2014-01-03libsyntax: De-`@mut` `ParseSess::included_mod_stack`Patrick Walton-16/+29
2014-01-03auto merge of #11149 : alexcrichton/rust/remove-either, r=brsonbors-37/+40
Had to change some stuff in typeck to bootstrap (getting methods in fmt off of Either), but other than that not so painful. Closes #9157
2014-01-03Remove std::eitherAlex Crichton-37/+40
2014-01-03auto merge of #11276 : brson/rust/0.9, r=pcwaltonbors-1/+1
2014-01-03auto merge of #11228 : sfackler/rust/syntaxenv, r=pcwaltonbors-247/+129
I'd really like to be able to do something like ```rust struct MapChain<'next, K, V> { info: BlockInfo, map: HashMap<K, V>, next: Option<&'next mut MapChain<'next, K, V> } ``` but I can't get the lifetimes to work out.
2014-01-02libsyntax: Fix test and merge fallout.Patrick Walton-4/+4
2014-01-02libsyntax: Long linePatrick Walton-1/+2
2014-01-02libsyntax: Remove increasingly inaccurate commentPatrick Walton-1/+0
2014-01-02libsyntax: De-`@mut` `Parser::open_braces`Patrick Walton-5/+9
2014-01-02libsyntax: De-`@mut` `Parser::mod_path_stack`Patrick Walton-4/+3
2014-01-02libsyntax: De-`@mut` `Parser::obsolete_set`Patrick Walton-2/+2
2014-01-02libsyntax: De-`@mut` `Parser::restriction`Patrick Walton-7/+7
2014-01-02libsyntax: De-`@mut` `Parser::tokens_consumed`Patrick Walton-3/+3
2014-01-02libsyntax: De-`@mut` `Parser::buffer_start` and `Parser::buffer_end`Patrick Walton-13/+13
2014-01-02libsyntax: De-`@mut` `Parser::buffer`Patrick Walton-3/+3
2014-01-02libsyntax: De-`@mut` `Parser::last_token`Patrick Walton-3/+3
2014-01-02libsyntax: De-`@mut` `Parser::last_span`Patrick Walton-34/+32
2014-01-02libsyntax: De-`@mut` `Parser::span`Patrick Walton-52/+54
2014-01-02libsyntax: De-`@mut` `token` in the parserPatrick Walton-251/+251
2014-01-02libsyntax: De-`@mut` `quote_depth` in the parserPatrick Walton-7/+7
2014-01-02libsyntax: Make the parser mutablePatrick Walton-487/+518
2014-01-02Bump version to 0.9Brian Anderson-1/+1
2014-01-02auto merge of #10696 : fhahn/rust/issue9543-remove-extern-mod-foo, r=pcwaltonbors-13/+19
This patch for #9543 throws an `obsolete syntax` error for `extern mod foo (name="bar")` . I was wondering if [this](https://github.com/fhahn/rust/compare/mozilla:master...fhahn:issue9543-remove-extern-mod-foo?expand=1#diff-da9d34ca1d0f6beee2838cf02e07345cR4444) is the correct place to do this? I think the wording of the error message could probably be improved as well. If this approach is OK, I'm going to run the whole test suite tomorrow and update the old syntax to the new one.
2014-01-02Output columns 1-based. Fixes #10848Jan Niklas Hasse-2/+2
2014-01-01Remove `extern mod foo (name="bar")` syntax, closes #9543Florian Hahn-13/+19
2014-01-01auto merge of #11255 : klutzy/rust/small-cleanup, r=pcwaltonbors-124/+92
This patchset removes some `@`s and unnecessary traits, and replaces a function (`dummy_sp()`) returning constant value by static variable.
2014-01-02syntax: expand impl_pretty_name to handle more cases.Huon Wilson-16/+61
The resulting symbol names aren't very pretty at all: trait Trait { fn method(&self); } impl<'a> Trait for ~[(&'a int, fn())] { fn method(&self) {} } gives Trait$$UP$$VEC$$TUP_2$$BP$int$$FN$$::method::...hash...::v0.0 However, at least it contain some reference to the Self type, unlike `Trait$__extensions__::method:...`, which is what the symbol name used to be for anything other than `impl Trait for foo::bar::Baz` (which became, and still becomes, `Trait$Baz::method`).