about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-08-29Allow extern mods to be anonymousTim Chevalier-9/+27
extern mod { f(); } is now allowed, and puts f in the enclosing scope. (Requires a link_name attribute to be really useful...)
2012-08-28CamelCasify lots of stdBen Striegel-3/+3
2012-08-28Convert core::pipes to camel caseBrian Anderson-11/+25
2012-08-27Camel case various core constructorsBrian Anderson-22/+22
2012-08-27Convert core::result to camel caseBrian Anderson-9/+9
2012-08-27rustc: more pattern cleanupErick Tryzelaar-9/+9
2012-08-26Camel case the option typeBrian Anderson-723/+723
2012-08-25libsyntax: Accept ',' to separate struct fields. Closes #3263.Patrick Walton-2/+14
2012-08-25rustc: Implement foreign constants.Patrick Walton-29/+62
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-24Remove match checkTim Chevalier-11/+8
2012-08-24"earley_parser" -> "macro_parser" Let's be less confusing.Paul Stansifer-7/+7
2012-08-24Document the macro parser a little more.Paul Stansifer-2/+60
2012-08-24Start using core::path2::Path in a lot of places.Graydon Hoare-49/+48
2012-08-24fix some unused pattern binding warningsNiko Matsakis-19/+19
2012-08-24extend liveness to treat bindings more like other variablesNiko Matsakis-1/+3
This results in a lot of warnings in rustc. I left them in because many are bugs and we should fix our code, but Graydon asked that I not touch every file in the codebase.
2012-08-24Use a faked-up function as a key, because functions aren't identical ↵Paul Stansifer-6/+20
cross-crate in Windows.
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-84/+86
2012-08-23More complete fix to #3162 (borrowck bug related to access to rec fields)Niko Matsakis-15/+9
2012-08-23Parenthesize unary move exprs in prettyprinterTim Chevalier-1/+6
Closes #3220
2012-08-23Give a special error message when [de]serializing fails because the interner ↵Paul Stansifer-4/+10
isn't in TLS yet.
2012-08-23`m1!{...}` is now forbidden. Use `m1!(...)` instead.Paul Stansifer-18/+7
2012-08-23Pretty-print macros with `()` instead of `{}`.Paul Stansifer-6/+8
2012-08-23Change calls of `proto!` to use parens.Paul Stansifer-2/+2
2012-08-23Eliminate some extraneous curly brackets inside invocations of `macro_rules!`.Paul Stansifer-6/+6
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-219/+219
2012-08-23Infer variance of types with respect to the region parameter.Niko Matsakis-1/+14
A similar approach could be used for type parameters. Fixes #2282.
2012-08-22Parse and typecheck moving out of enums (#2329)Ben Blum-1/+8
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-21/+7
This gets rid of a gratuitous `match check`.
2012-08-22Change the log level to be an enum rather than an intTim Chevalier-6/+10
This allows for eliminating a match check.
2012-08-22intern identifiersPaul Stansifer-515/+617
2012-08-22pre-intern some fixed names so they can be used as constantsPaul Stansifer-2/+20
2012-08-22Centralize ident interner generation.Paul Stansifer-31/+32
2012-08-22Eliminate many match checks in rustcTim Chevalier-2/+2
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-6/+7
2012-08-17Make by-val explicit self actually work. Closes #2585.Michael Sullivan-6/+6
2012-08-17Pretty print explicit self types. Work on #2585.Michael Sullivan-17/+63
2012-08-17Parse explicit self in more places. Work on #2585.Michael Sullivan-54/+68
2012-08-17make borrowck more conservative around rvalues.Niko Matsakis-1/+12
this will require more temporaries, but is probably less magical. also, it means that borrowck matches trans better, so fewer crashes. bonus. Finally, stop warning about implicit copies when we are actually borrowing. Also, one test (vec-res-add) stopped failing due to #2587, and hence I added an xfail-test. Fixes #3217, #2977, #3067
2012-08-17Stop parsing `iface`.Lindsey Kuper-7/+1
2012-08-17Move select macro into another file, so it can be including in multiple tests.Eric Holk-1/+1
Fixing long lines.
2012-08-17Track spans better in the protocol compiler so we can get better error messages.Eric Holk-17/+34
2012-08-17Remove the class keywordBrian Anderson-5/+4
2012-08-16libsyntax: Make include_bin! generate fixed-length vectors.Patrick Walton-2/+2
This is so that we don't generate 170,000-line LLVM functions in Servo.
2012-08-16libsyntax: Fix parsing of "loop unsafe".Patrick Walton-1/+1
It was getting misparsed as a label.
2012-08-15libsyntax: Fix wrong pretty printing of private fieldsPatrick Walton-4/+2
2012-08-15Long linesBrian Anderson-2/+2
2012-08-15libsyntax: Parse tuple and unit structsPatrick Walton-44/+72
2012-08-15Modify pipec to not emit calls to some and noneBrian Anderson-4/+4
2012-08-15rustc: Fix long lines and trailing whitespacePatrick Walton-7/+6
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-150/+158