summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Collapse)AuthorLines
2014-01-15libsyntax: Remove the obsolete ability to parse from substrings.Patrick Walton-40/+1
This was used by the quasiquoter.
2014-01-14auto merge of #11485 : eddyb/rust/sweep-old-rust, r=nikomatsakisbors-57/+41
2014-01-13librustc: Remove `@` pointer patterns from the languagePatrick Walton-56/+64
2014-01-13libsyntax: Make managed box `@` patterns obsoletePatrick Walton-3/+12
2014-01-12Removed remnants of `@mut` and `~mut` from comments and the type system.Eduard Burtescu-57/+41
2014-01-11Tighten up float literal lexing.SiegeLord-11/+16
Specifically, dissallow setting the number base for every type of float literal, not only those that contain the decimal point. This is in line with the description in the manual.
2014-01-11Removed obsolete 'e' prefix on ty_evec and ty_estr.Eduard Burtescu-4/+4
2014-01-11Remove re-exports of std::io::stdio::{print, println} in the prelude.Brendan Zabarauskas-1/+1
The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
2014-01-09auto merge of #11055 : pcwalton/rust/placement-box, r=pcwaltonbors-1/+15
r? @nikomatsakis
2014-01-09librustc: Implement placement `box` for GC and unique pointers.Patrick Walton-1/+15
2014-01-09libsyntax: Renamed types, traits and enum variants to CamelCase.Eduard Burtescu-539/+532
2014-01-09auto merge of #11414 : nick29581/rust/span, r=alexcrichtonbors-1/+2
...at the start of the path, rather than at the start of the view_path. Fixes #11317
2014-01-08Remove the io::Decorator traitAlex Crichton-2/+1
This is just an unnecessary trait that no one's ever going to parameterize over and it's more useful to just define the methods directly on the types themselves. The implementors of this type almost always don't want inner_mut_ref() but they're forced to define it as well.
2014-01-09Start the span for a path in a view_path at the correct place (at the start ↵Nick Cameron-1/+2
of the path, rather than at the start of the view_path).
2014-01-08Renamed Option::map_default and mutate_default to map_or and mutate_or_setMarvin Löbel-2/+2
2014-01-03librustc: Remove `@mut` support from the parserPatrick Walton-8/+4
2014-01-03libsyntax: De-`@mut` `CodeMap::files`Patrick Walton-1/+4
2014-01-03libsyntax: De-`@mut` `name_idx`Patrick Walton-7/+8
2014-01-03librustc: De-`@mut` the span handlerPatrick Walton-10/+10
2014-01-03libsyntax: De-`@mut` `StringReader`, `TtReader`, and `reader`Patrick Walton-59/+58
2014-01-03libsyntax: De-`@mut` `TtReader::cur_span`Patrick Walton-2/+2
2014-01-03libsyntax: De-`@mut` `TtReader::cur_tok`Patrick Walton-2/+5
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-28/+28
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-13/+13
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-13/+13
2014-01-02libsyntax: Fix test and merge fallout.Patrick Walton-3/+3
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-30/+28
2014-01-02libsyntax: De-`@mut` `Parser::span`Patrick Walton-49/+51
2014-01-02libsyntax: De-`@mut` `token` in the parserPatrick Walton-223/+221
2014-01-02libsyntax: De-`@mut` `quote_depth` in the parserPatrick Walton-4/+4
2014-01-02libsyntax: Make the parser mutablePatrick Walton-442/+459
2014-01-02auto merge of #10696 : fhahn/rust/issue9543-remove-extern-mod-foo, r=pcwaltonbors-2/+15
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-01Remove `extern mod foo (name="bar")` syntax, closes #9543Florian Hahn-2/+15