about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Expand)AuthorLines
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. Closes...Paul Stansifer-9/+13
2012-11-29Fix trace_macros so that it works.Paul Stansifer-5/+9
2012-11-29Forbid attrs on macros, since we don't handle them properly yet.Paul Stansifer-3/+10
2012-11-29Respect semicolons always when expanding statments.Paul Stansifer-11/+13
2012-11-29Forbid item macros from occuring where statement macros might occur, and allo...Paul Stansifer-14/+22
2012-11-29Distinguish `stmt_mac`s that are followed by semicolons and those that aren't.Paul Stansifer-12/+17
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-15/+22
2012-11-29Allow the expansion of old-style expr macros in stmt position.Paul Stansifer-0/+18
2012-11-29Use `biased_match!` to avoid over-deep indentation in expand.rs.Paul Stansifer-77/+89
2012-11-29Make it possible to expand stmt macros.Paul Stansifer-17/+72
2012-11-29Allow for macros to occur in statement position.Paul Stansifer-15/+22
2012-11-29Make it possible to invoke item macros without passing identifier arguments.Paul Stansifer-33/+55
2012-11-29Grammaticalinate an error message.Paul Stansifer-2/+2
2012-11-29Allow `macro_rules!` macros to expand to expressions or items.Paul Stansifer-5/+12
2012-11-29libsyntax: Remove the "by-mutable-ref" obsolete syntax error; it blocks usefu...Patrick Walton-14/+5
2012-11-28core: Convert some records to structsBrian Anderson-0/+1
2012-11-28Remove uses of #[merge]Brian Anderson-266/+270
2012-11-28Merge remote-tracking branch 'erickt/time'Brian Anderson-2/+2
2012-11-28Remove parser hackBrian Anderson-11/+0
2012-11-28Merge remote-tracking branch 'brson/companion' into incomingBrian Anderson-1313/+188
2012-11-28Register snapshotsBrian Anderson-1262/+27
2012-11-28librustc: Add explicit self to IterBytes. r=nmatsakisPatrick Walton-1/+165
2012-11-28libsyntax: Implement a macro `die!` to replace the `fail` expression. r=brsonPatrick Walton-0/+20
2012-11-28librustc: Parse `extern "C" { ... }`. r=brsonPatrick Walton-8/+47
2012-11-27librustc: Implement @mut [T] as the new replacement for @[mut T]Patrick Walton-3/+12
2012-11-26auto_serialize should use explicit refs (fixes #4044)Erick Tryzelaar-2/+2
2012-11-26Remove the crate languageBrian Anderson-183/+237
2012-11-26Add a temporary hack to divert the parser to an alternate fileBrian Anderson-0/+12
2012-11-26syntax: Add a hack to support the int-template patternBrian Anderson-9/+53
2012-11-21libsyntax: Implement `deriving` correctly for type-parameterized structs and ...Patrick Walton-61/+151
2012-11-21libsyntax: Implement deriving via a syntax extension for the `IterBytes` trai...Patrick Walton-123/+416
2012-11-21libsyntax: Fix duplication of items that occurs if `#[deriving_eq]` is applie...Patrick Walton-1/+1
2012-11-21libsyntax: Implement `deriving` for enums with N-ary variants. r=brsonPatrick Walton-40/+153
2012-11-20syntax: switch tt quoter to emit ~[tt], not tt.Graydon Hoare-33/+71
2012-11-20libsyntax: Long line. rs=make-tidyPatrick Walton-1/+1
2012-11-20rustc: Implement "deriving" for monomorphic structs via a syntax extension. r...Patrick Walton-0/+418
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-7/+1083
2012-11-19Fix parsing of interpolated pathsBrian Anderson-1/+2
2012-11-18Remove unused file_type enum from the parserBrian Anderson-38/+24
2012-11-18Report errors better when failing to open files for sub-parsersBrian Anderson-25/+61
2012-11-18Parse file mods from .rs filesBrian Anderson-24/+56
2012-11-18syntax: Remove cdir_syntax. UnusedBrian Anderson-5/+0
2012-11-18Remove some unused code from lexerBrian Anderson-6/+2
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-470/+664
2012-11-16Remove unused MultiByteChar.sum field from codemapBrian Anderson-10/+0
2012-11-16Add some docs to codemapBrian Anderson-13/+48
2012-11-16Remove incorrect comment from codemapBrian Anderson-2/+0