about summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Collapse)AuthorLines
2013-01-10librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakisPatrick Walton-6/+16
2013-01-10librustc: Allow the type parameter version of `Self` to be spelled with a ↵Patrick Walton-9/+38
capital S
2013-01-09syntax: convert ast::spanned into a structErick Tryzelaar-36/+39
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-80/+88
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-88/+80
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-80/+88
module scope. r=tjc
2013-01-08Rename identifiers that still use 'alt' to use 'match'Lindsey Kuper-2/+2
This'll be less confusing for anyone who works on match in future.
2013-01-04Rename option::get_default => get_or_default, get_zero => get_or_zeroTim Chevalier-1/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-90/+144
contain at least two components. r=graydon
2012-12-19Remove transitional path2 attributeBrian Anderson-14/+8
2012-12-18Make #[path] work with absolute paths again. Fix check-fastBrian Anderson-1/+8
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-7/+7
2012-12-17Make the path and path2 attributes equivalent. Remove some usesBrian Anderson-2/+3
2012-12-17Add support for destructuring vectors in match expressionsJakub Wieczorek-0/+40
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-22/+22
2012-12-13syntax: normalize paths when parsing, close #4173.Graydon Hoare-0/+1
2012-12-12syntax: remove most code handling old-style syntax extensions.Graydon Hoare-156/+4
2012-12-12syntax: remove all remaining uses of #ast, and #ast / qquote itself.Graydon Hoare-7/+0
2012-12-11Relate the module hierarchy to directory paths in the parserBrian Anderson-4/+29
Introduces a temporary 'path2' attribute that will replace 'path' after a snapshot
2012-12-10Remove un-needed code for obsolete classesTim Chevalier-45/+27
and rename "class" to "struct" everywhere possible (except local vars, I was too lazy for that) -- that is why this commit is so big. No review, just dead code removal and renaming. Closes #3515
2012-12-10Add license boilerplate to more files.Graydon Hoare-0/+10
2012-12-07librustc: De-mode pattern bindings. r=nmatsakisPatrick Walton-7/+3
2012-12-07libsyntax: Fix parsing of module-qualified structure patterns. rs=bugfixPatrick Walton-29/+1
2012-12-07librustc: Implement "&mut [T]" as an expression. r=brsonPatrick Walton-1/+4
2012-12-07Trait constraints are separated by space, not commaBrian Anderson-1/+1
2012-12-07Remove impl_id from trait_ref. UnusedBrian Anderson-1/+1
2012-12-04librustc: Long lines. rs=rustbotPatrick Walton-1/+3
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-33/+40
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+100
2012-11-30librustc: Make `a.b()` always a method call. r=nmatsakisPatrick Walton-10/+48
2012-11-30libs: Remove transitionary material on iter_bytes, add workcache to build.Graydon Hoare-9/+0
2012-11-29impls of traits cannot define methods on the anonymous traitBrian Anderson-43/+3
2012-11-29syntax: slight improvement in fidelity of printing tokens. Still not great.Graydon Hoare-5/+3
2012-11-29Properly sync macro_parser.rs after it escapes out to the Rust parser. ↵Paul Stansifer-0/+3
Closes #3201.
2012-11-29Forbid attrs on macros, since we don't handle them properly yet.Paul Stansifer-3/+10
2012-11-29Forbid item macros from occuring where statement macros might occur, and ↵Paul Stansifer-14/+22
allow item macros to look like statement/expr macros.
2012-11-29Distinguish `stmt_mac`s that are followed by semicolons and those that aren't.Paul Stansifer-3/+4
2012-11-29Make the parser handle stmt macros that might be exprs at the end of blocks.Paul Stansifer-0/+23
2012-11-29Allow parsing of macros in statement position.Paul Stansifer-6/+39
2012-11-29No longer parse the delimiters of the RHS of a macro as part of the expansion.Paul Stansifer-12/+12
2012-11-29Allow for macros to occur in statement position.Paul Stansifer-12/+9
2012-11-29Make it possible to invoke item macros without passing identifier arguments.Paul Stansifer-1/+5
2012-11-29libsyntax: Remove the "by-mutable-ref" obsolete syntax error; it blocks ↵Patrick Walton-14/+5
useful function argument patterns. Add a test for the latter. r=brson
2012-11-28core: Convert some records to structsBrian Anderson-0/+1
2012-11-28Remove uses of #[merge]Brian Anderson-0/+198
2012-11-28Merge remote-tracking branch 'brson/companion' into incomingBrian Anderson-411/+125
Conflicts: src/compiletest/compiletest.rs src/libcargo/cargo.rs src/libcore/core.rs src/librustc/rustc.rs src/librustdoc/rustdoc.rc
2012-11-28Register snapshotsBrian Anderson-319/+0
2012-11-28librustc: Add explicit self to IterBytes. r=nmatsakisPatrick Walton-0/+9
2012-11-28librustc: Parse `extern "C" { ... }`. r=brsonPatrick Walton-6/+42
2012-11-27librustc: Implement @mut [T] as the new replacement for @[mut T]Patrick Walton-3/+7