about summary refs log tree commit diff
path: root/src/libsyntax/parse/comments.rs
AgeCommit message (Collapse)AuthorLines
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-26libsyntax: add explicit copiesErick Tryzelaar-5/+5
2013-02-26libsyntax: change token fns to take &TokenErick Tryzelaar-1/+1
2013-02-26libsyntax: change token::to_str to take &TokenErick Tryzelaar-1/+1
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-10/+17
2013-02-19Change functions from taking ~str to taking &strErick Tryzelaar-3/+3
2013-02-14auto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorphismbors-28/+38
This is a natural extension of #4887, and handles the following three cases: ~~~~ a line with only /s //////////////////////////////////////////// a line with only /s followed by whitespace //////////////////////////////////////////// a block comment with only *s between two /s /********************************/ ~~~~
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-13libsyntax: don't parse ////, /***/ as doc commentsKang Seonghoon-28/+38
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-14/+17
2013-01-31test cases, cleanupJohn Clements-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-16/+9
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-1/+1
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-1/+1
r=nmatsakis
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2013-01-04Rename option::get_default => get_or_default, get_zero => get_or_zeroTim Chevalier-1/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-4/+15
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-3/+2
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Register snapshotsBrian Anderson-12/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+12
2012-11-16Stop tracking CodeMap offsets in the parse session. Big simplificationBrian Anderson-1/+2
2012-11-16Stop storing char positions in CodeMapBrian Anderson-10/+6
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-6/+6
2012-11-15Refactor the lexer to use FilePos typesBrian Anderson-5/+5
2012-11-14Track character and byte positions together in the parserBrian Anderson-3/+7
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-7/+12
2012-11-14Camel case all the codemap types except spanBrian Anderson-2/+2
2012-11-12Move filemap ctors to static methodsBrian Anderson-1/+2
2012-11-12Remove filemap box typedef from codemapBrian Anderson-1/+1
2012-10-05Remove uses of mutable ref mode.Tim Chevalier-14/+14
It's still in the compiler right now, but warned about
2012-10-05Revert "wip"Tim Chevalier-14/+14
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-14/+14
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-7/+7
2012-09-26Refactoring ReaderUtil trait, combining it with the traitless impl on Reader.Eric Holk-0/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-11/+0
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-1/+1
2012-09-21libcore: De-mode strPatrick Walton-2/+2
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+11
2012-09-10rustc: Make shape-based compare glue never called for comparison operators.Patrick Walton-0/+9
Only called for string patterns.
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-1/+1
2012-09-04libsyntax: "import" -> "use"Patrick Walton-3/+3
2012-08-31Make utility funs in core::int, core::uint, etc. not by-referenceTim Chevalier-1/+1
Closes #3302
2012-08-29core: Demode int/uint modsBrian Anderson-1/+1
2012-08-26Camel case the option typeBrian Anderson-4/+4
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-10/+10