summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2013-06-08Lexer: Avoid unnecessary allocationsBjörn Steinbrink-42/+57
2013-06-08Avoid unnecessary (re-)allocations in the lexerBjörn Steinbrink-7/+8
2013-06-08std: remove each[i]_mut functions, in favour of iterators.Huon Wilson-3/+4
2013-06-08std: remove vec::each2 and vec::each2_mut in favour of iteratorsHuon Wilson-2/+3
2013-06-07syntax: correct the modifications to deriving(Ord) so that it works.Huon Wilson-30/+13
2013-06-07syntax: rewrite deriving(Ord) to not require Eq.Huon Wilson-57/+59
lt and gt are implement directly in terms of the corresponding method on their elements, and le and ge are the negations of these.
2013-06-07syntax: move expand_generic_deriving to be a method on TraitDefHuon Wilson-55/+37
2013-06-07syntax: move functions from deriving/mod to deriving/generic.Huon Wilson-277/+199
These are now only called in generic and can be private. This includes manually inlining/merging some that are called once.
2013-06-06auto merge of #6982 : Aatch/rust/better-foreign-error, r=pcwaltonbors-2/+2
I encountered this. A straight fail is not useful and most people aren't going to happily spelunk in `parser.rs`
2013-06-07Provide an actual error when expanding macros to foreign itemsJames Miller-2/+2
2013-06-06implement fold traversing macrosJohn Clements-3/+38
2013-06-06add test cases for fold traversing macrosJohn Clements-0/+150
2013-06-06Clean up a handful of build warnings.Michael Sullivan-13/+13
2013-06-06Deduplicate words in code commentsAlexei Sholik-3/+3
2013-06-05moved TLS of sctable to ast_util, hid parameter in hygiene callsJohn Clements-81/+103
2013-06-05added fresh-name fnJohn Clements-0/+28
2013-06-05add hygiene support functionsJohn Clements-27/+78
2013-06-05remove unused get_ident_interner'sJohn Clements-5/+5
2013-06-05removed unused imports (and one unused argument)John Clements-18/+10
2013-06-05remove interner field from string_readerJohn Clements-28/+16
2013-06-05remove interner from tt_readerJohn Clements-11/+3
2013-06-05remove unused cx'sJohn Clements-96/+96
2013-06-05token_to_ident takes argument by referenceJohn Clements-22/+22
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-132/+165
2013-06-05removed some interner fieldsJohn Clements-10/+1
2013-06-05just use TLS internerJohn Clements-75/+84
2013-06-05rename repr to nameJohn Clements-104/+104
2013-06-05removed obsolete reference to purityJohn Clements-3/+0
2013-06-05parser commentsJohn Clements-1/+2
2013-06-05comments & whitespaceJohn Clements-0/+3
2013-06-05change to newer macro escape mechanism, using uints in more placesJohn Clements-128/+166
2013-06-05add renaming and sctable funsJohn Clements-1/+48
2013-06-05auto merge of #6948 : huonw/rust/less-alloc, r=bstriebors-2/+2
2013-06-05syntax: Remove an unnecessary allocation.Huon Wilson-2/+2
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-59/+111
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-04libsyntax: Remove `pub impl` from the languagePatrick Walton-13/+11
2013-06-03auto merge of #6826 : cmr/rust/terminfo, r=thestingerbors-10/+18
This will let *everyone* (non-windows, at least) who can see colors see the glorious colors rustc produces.
2013-06-01auto merge of #6896 : nickdesaulniers/rust/issue4501, r=brsonbors-24/+7
review? @brson
2013-06-01auto merge of #6807 : catamorphism/rust/rustpkg-extern-mod, r=catamorphismbors-0/+15
r? @graydon Addresses #5681
2013-06-01syntax: Add an each_view_item method on traitsTim Chevalier-0/+15
2013-06-01Swap return value of pipes::init Fixes #4501Nick Desaulniers-24/+7
2013-06-01syntax: move callee_id into the expr_ variantsErick Tryzelaar-88/+127
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-338/+360
2013-05-31auto merge of #6851 : alexcrichton/rust/bugfixes, r=pcwaltonbors-957/+232
Closes #5090 by using the excellent new generic deriving code Promotes the unreachable code attribute to a lint attribute (instead of always being a warning) Fixes some edge cases when creating hashmaps/hashsets and also when consuming them. (fixes #5998)
2013-05-31extra::term: better error handling and win32 compatCorey Richardson-9/+9
2013-05-31extra::term overhaulCorey Richardson-10/+18
2013-05-31auto merge of #6833 : fdr/rust/fix-warnings, r=Aatchbors-6/+2
Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe.
2013-05-30Rewrite deriving(Decodable, Encodable)Alex Crichton-957/+232
Now it uses the generic deriving code and should in theory work in all cases.
2013-05-30Fix parser testNiko Matsakis-1/+1
2013-05-30Remove unnecessary 'use' formsDaniel Farina-6/+2
Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe.