about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-06-20Remove bind. Issue #2189Brian Anderson-140/+111
2012-06-18Add 'do' expressionsBrian Anderson-2/+28
2012-06-16Re-fix whitespaceTim Chevalier-1/+1
2012-06-16Revert "Reference and whitespace fixes."Tim Chevalier-1/+1
This reverts commit 52f1904ddde95fb7d8e654b4cc78a4f162385275.
2012-06-15Reference and whitespace fixes.Eric Holk-1/+1
2012-06-15id_visitor should handle expr_index and expr_assign_op as well.Eric Holk-2/+3
2012-06-15Handle index expressions' callee IDs correctlyTim Chevalier-1/+1
Some code that handles unary and binary exprs' callee IDs was forgetting to handle the index expr case (since calls to user-defined index operators also have callee IDs). This was manifesting as an ICE in trans because when monomorphizing a function that had one of these operators in it (an index into a dvec, in the test case), the callee ID would be unbound to a type. Fixed it. Closes #2631.
2012-06-15Lexers now emit spans, not chposes.Paul Stansifer-48/+62
2012-06-15Beginning of support for interpolation into token trees.Paul Stansifer-1/+17
2012-06-15Make token tree lexers and their stacks unique.Paul Stansifer-37/+50
2012-06-15Make tt lexers duplicatible.Paul Stansifer-1/+17
2012-06-15Bugfix: obey the tt_lexer's own invariants.Paul Stansifer-20/+13
2012-06-15Add the interner to parse_sess.Paul Stansifer-14/+35
2012-06-15Make it possible to make tt_reader-based parsers.Paul Stansifer-20/+42
2012-06-15Make token trees re-lexable.Paul Stansifer-2/+66
2012-06-15Formatting fixup in parser.rsPaul Stansifer-45/+46
2012-06-15Pull out an interface for the lexer.Paul Stansifer-247/+285
2012-06-15Make token trees parseable.Paul Stansifer-5/+82
2012-06-14Further work on integer literal suffix inference (#1425)Lindsey Kuper-18/+14
In this commit: * Change the lit_int_unsuffixed AST node to not carry a type, since it doesn't need one * Don't print "(unsuffixed)" when pretty-printing unsuffixed integer literals * Just print "I" instead of "(integral)" for integral type variables * Set up trans to use the information that will be gathered during typeck to construct the appropriate constants for unsuffixed int literals * Add logic for handling int_ty_sets in typeck::infer * Clean up unnecessary code in typeck::infer * Add missing mk_ functions to middle::ty * Add ty_var_integral to a few of the type utility functions it was missing from in middle::ty
2012-06-14Remove code from parser that was awaiting snapshotTim Chevalier-62/+2
Remove old parser functions as well as support for old-style capture clauses. Remove remaining old-style capture clauses.
2012-06-14Comments only: annotate FIXMEsTim Chevalier-2/+5
2012-06-13Allow trailing commas in import lists. Closes #2582.Lindsey Kuper-1/+1
2012-06-13Box AST identsBrian Anderson-194/+204
2012-06-12Handle class destructors correctly in metadataTim Chevalier-2/+8
This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors.
2012-06-12Allow trailing comma in vectors. Closes #2482.Lindsey Kuper-1/+1
2012-06-12syntax: clarify that trailing separators are never requiredLindsey Kuper-60/+60
2012-06-11syntax: minor cleanups; making things more idiomaticLindsey Kuper-75/+69
2012-06-11Add a new AST node for unsuffixed integer types.Lindsey Kuper-5/+34
2012-06-09Fix long linesBrian Anderson-2/+8
2012-06-09syntax: Don't copy source stringBrian Anderson-2/+1
2012-06-09syntax: Intern @strs instead of strsBrian Anderson-18/+21
2012-06-08Revert "syntax: Remove a couple of implicit copies" due to test failuresPatrick Walton-2/+2
This reverts commit 46b12d3e05a5dc1feaf45520310a6dc8f1b5d13a.
2012-06-08syntax: Remove a couple of implicit copiesPatrick Walton-2/+2
2012-06-08syntax: Use a ring buffer instead of a dvec and save a bunch of copies. ↵Patrick Walton-7/+25
Shaves a second or two off rustc.
2012-06-07syntax: Remove some more implicit copiesPatrick Walton-25/+23
2012-06-07syntax: Remove several deep copies that were happening due to misuse of ↵Patrick Walton-76/+90
parse_seq
2012-06-07syntax: Add a lot of copy keywordsPatrick Walton-59/+87
2012-06-07syntax: Remove a bunch of implicit copiesPatrick Walton-60/+80
2012-06-06Insert missing maybe_print_comment call for class destructorsTim Chevalier-0/+1
While it wasn't the original issue, the first program from #2487 failed the pretty-printing test because of this, so it's still a good test case :-) It also turns out that the second program from #2487 now triggers a kind error, so I figured I might as well add it as a test case.
2012-06-06Say "easily" instead of "sanely"Tim Chevalier-1/+1
I can't correct it every time, but every time someone uses "insane"/ "sane" as synonyms for "bad"/"good", they're saying that being like me is the same as being everything that's bad and wrong in the world... so I'm changing this to a word that means approximately the same thing but doesn't devalue any group of people.
2012-06-06Merge remote-tracking branch 'mozilla/incoming'Niko Matsakis-4/+7
Conflicts: src/rustc/middle/tstate/auxiliary.rs
2012-06-06workaround LLVM bug #13042Niko Matsakis-2/+5
2012-06-06add pure annotations in ast_utilNiko Matsakis-14/+14
2012-06-06borrowck changes: some copies, some removed mut annotations, some dvecNiko Matsakis-40/+42
2012-06-06make lookup fn pure in codemapNiko Matsakis-5/+6
2012-06-06misc. copies in core/syntax to please borrowckNiko Matsakis-4/+4
2012-06-06syntax: More grammatical error messageLindsey Kuper-4/+7
2012-06-05Have "aborting due to previous errors" message show an error countLindsey Kuper-1/+3
2012-06-04syntax: Make span functions take args by copy. Eliminate some copy warningsBrian Anderson-3/+3
2012-06-04Make vecs implicitly copyable for all of our projects.Michael Sullivan-0/+2