about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
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
2012-08-15libsyntax: Parse nested enumsPatrick Walton-23/+34
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-18/+48
2012-08-15rustc: "as Trait" can now be written "as @Trait".Patrick Walton-32/+32
There is also code for ~Trait and &Trait, but these are currently (incorrectly) synonyms for "as @Trait" and "as &Trait".
2012-08-15pipes: Rename the pipec-generated buffer to __BufferBrian Anderson-2/+2
Conforms to camel case convention and hides it away so it doesn't conflict with user code
2012-08-15Convert more core types to camel caseBrian Anderson-51/+51
2012-08-15Add trace_macros!Eric Holk-7/+51
2012-08-14Make autoserialize not generate alt checksTim Chevalier-2/+11
2012-08-14Convert more core types to camel caseBrian Anderson-12/+12
2012-08-14Make most forms of explicit self work. By-value not implemented. Work on #2585.Michael Sullivan-24/+2
2012-08-14libsyntax: Parse "extern mod foo;"Patrick Walton-37/+100
2012-08-14Merge pull request #3194 from dbp/prettyBrian Anderson-2/+15
Pretty printing brackets on match arms
2012-08-14Silence unused-variable warning.Graydon Hoare-1/+1
2012-08-14libsyntax: Give a nice error message when view items are used anywhere other ↵Patrick Walton-0/+24
than the top of a module. This is a step on the way to parsing "extern mod foo;"
2012-08-14libsyntax: First steps toward parsing "extern mod std;"Patrick Walton-22/+37
2012-08-14syntax: fixing pretty printing of brackets in match armsDaniel Patterson-2/+15
2012-08-14More attempts at fixing .. breakage.Graydon Hoare-1/+0
2012-08-13libsyntax: Implement [int*3] syntax for fixed length vector typesPatrick Walton-1/+29
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-3/+3
2012-08-13Stop parsing old operator overloading syntaxBrian Anderson-38/+1