summary refs log tree commit diff
path: root/src/rustc/syntax
AgeCommit message (Collapse)AuthorLines
2012-03-09Add an infinite loop constructTim Chevalier-7/+29
Add a loop {} construct for infinite loops, and use it in test cases. See #1906 for details.
2012-03-09rustc: Wrap regions in a node IDPatrick Walton-4/+7
2012-03-09rustc: Add region def ids to the ASTPatrick Walton-2/+3
2012-03-09Revert "rustc: Create def IDs for region parameters"Patrick Walton-9/+5
This reverts commit 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0.
2012-03-09rustc: Create def IDs for region parametersPatrick Walton-5/+9
2012-03-08rustc: Add pretty printing support for the address-of operator. ↵Patrick Walton-1/+14
Un-XFAIL-pretty simple-regions.rs.
2012-03-08rustc: Change the address-of operator to an explicit production so that we ↵Patrick Walton-2/+10
can parse the mutability
2012-03-08Change util::unreachable to core::unreachableTim Chevalier-2/+2
Closes #1931
2012-03-08rustc: Add ty_rptr support to the visitorPatrick Walton-0/+1
2012-03-08Explicitly store self_ids use for self locals in methodsMarijn Haverbeke-8/+10
This makes it possible to move them between crates without confusion, and to instantiate them at a point where the monomorphizing substitutions are known. Issue #1944
2012-03-08rustc: Parse the safe address-of operatorPatrick Walton-0/+6
2012-03-08rustc: Add the safe address-of operator to the ASTPatrick Walton-1/+2
2012-03-08rustc: Parse region typesPatrick Walton-0/+20
2012-03-08rustc: Add region-annoted type parameters to the AST; stub associated patternsPatrick Walton-0/+9
2012-03-07Fix #1941: inlining of items that themselves contain nested itemsNiko Matsakis-0/+1
The fix is to drop nested items from the encoded AST. Nested items may themselves be inlined, but that is an independent question.
2012-03-05rustc: Use std::util::unreachableBrian Anderson-1/+1
2012-03-05rustc: Lower case error messagesBrian Anderson-3/+5
2012-03-04Translate simple classesTim Chevalier-36/+50
Programs using classes with fields only (no methods) compile and run, as long as nothing refers to a class in a different crate (todo). Also changed the AST representation of classes to have a separate record for constructor info (instead of inlining the fields in the item_class node), and fixed up spans and pretty-printing for classes.
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+10570