about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
AgeCommit message (Collapse)AuthorLines
2012-10-08Revert "remove ctor from ast"Tim Chevalier-9/+56
This reverts commit ed3689d57c988e1dd477930d957c4308c37d1a64.
2012-10-08remove ctor from astNiko Matsakis-56/+9
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-5/+6
and test cases. Closes #3513
2012-10-05Finally removing all uses of by-mut-refTim Chevalier-1/+2
The code for the mode itself is still there.
2012-10-05Remove uses of mutable ref mode.Tim Chevalier-2/+4
It's still in the compiler right now, but warned about
2012-10-05Revert "wip"Tim Chevalier-6/+4
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-4/+6
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-0/+1
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-10-02rustc: Only allow imports marked with "pub" to be imported from other modulesPatrick Walton-3/+3
2012-09-27libsyntax: Fix long lineErick Tryzelaar-1/+2
2012-09-27Merge pull request #3607 from gutworth/incomingBrian Anderson-11/+5
utterly trivial refactoring
2012-09-27libsyntax: Parse visibility modifiers before foreign itemsPatrick Walton-6/+11
2012-09-27factor out common linesBenjamin Peterson-11/+5
2012-09-26core: Replace map/map_default with map_ref/map_default_refBrian Anderson-2/+2
2012-09-26Long linesBrian Anderson-4/+7
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-68/+68
2012-09-26turn ast::ident into a structErick Tryzelaar-1/+1
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-26fix issue #3535 and add colon between mode and type when dumping funcion ↵Vincent Belliard-17/+28
prototype
2012-09-24Support visibility qualifiers in crate directives properly.Graydon Hoare-2/+3
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-9/+0
2012-09-23core: Demode optionBrian Anderson-2/+2
2012-09-23Make it illegal to use modes in a fn signature with providingNiko Matsakis-3/+13
an explicit variable name. (Step one to changing the defaults) First step to #3535
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+9
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-4/+4
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-1/+1
2012-09-19libsyntax: Remove the restricted keyword conceptBrian Anderson-3/+0
2012-09-18libsyntax: Remove 'unchecked_blk' from ASTBrian Anderson-1/+1
2012-09-18Remove 'unchecked' keywordBrian Anderson-8/+1
2012-09-14Have parser recognize static, self region.Niko Matsakis-8/+11
Fixes a bug in methods that &self couldn't be referenced in the body. Also fixes #2479.
2012-09-12Promote 'const', 'copy', 'fn' to strict keywordsBrian Anderson-1/+3
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-2/+2
also, change DVec() to work with imm vectors rather than mut ones
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-11/+16
Fixes #3261 Fixes #3443
2012-09-11Reserve 'be' as a keywordBrian Anderson-0/+2
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-11/+3
2012-09-11Remove priv sections from classes. Obsolete the syntaxBrian Anderson-15/+6
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-12/+0
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-2/+2
2012-09-10Report obsolete trait lists on structsBrian Anderson-3/+5
2012-09-10Report obsolete class method syntaxBrian Anderson-19/+29
2012-09-10Convert std::map to camel caseBrian Anderson-6/+6
2012-09-10Convert class methods to impl methods. Stop parsing class methodsBrian Anderson-25/+20
2012-09-09Introduce 'strict' keywords, that may not be used as idents anywhereBrian Anderson-0/+2
2012-09-08libsyntax: Parse and report errors for a few obsolete syntaxesBrian Anderson-14/+59
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-9/+1
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-3/+3
2012-09-07Fix long line.Graydon Hoare-1/+1
2012-09-07Fix whitespace.Graydon Hoare-1/+1
2012-09-07Remove support for multiple traits in a single implTim Chevalier-4/+4
There was half-working support for them, but they were never fully implemented or even approved. Remove them altogether. Closes #3410
2012-09-07Implement &-patternsTim Chevalier-2/+21
Closes #2855
2012-09-07Remove module keywordBrian Anderson-17/+5