rust/src/libsyntax/ext
bors 3ab170ffc5 auto merge of #16037 : erickt/rust/quote_arm, r=acrichto
This adds support for `quote_arm!(cx, $pat => $expr)`, and `macro_rules!(($a:arm) => (...))`. It also fixes a bug in pretty printing, where this would generate invalid code:

```
match { 5i } {
    1 => 2,
    _ => 3,
}
```

It would generate this code:

```
match { 5i } {
    1 => 2
    _ => 3
}
```

Finally, it adds a couple helper methods to `ExtCtxt`.
2014-07-30 13:01:10 +00:00
..
deriving Fixed lifetimes on syntax deriving structs, implemented Clone 2014-07-19 17:33:17 -04:00
tt Add a ton of ignore-lexer-test 2014-07-21 18:38:40 -07:00
asm.rs std: Rename the ToStr trait to ToString, and to_str to to_string. 2014-07-08 13:01:43 -07:00
base.rs syntax: add support for quoting arms 2014-07-29 16:01:36 -07:00
build.rs syntax: add some more extension helper methods 2014-07-29 15:51:03 -07:00
bytes.rs Revert bytes!() docstring change, and fix a typo. 2014-06-18 17:02:23 -07:00
cfg.rs Simplify creating a parser from a token tree 2014-07-03 12:54:52 -07:00
concat.rs Add a b'x' byte literal of type u8. 2014-06-17 23:41:03 +02:00
concat_idents.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
env.rs std: Rename the ToStr trait to ToString, and to_str to to_string. 2014-07-08 13:01:43 -07:00
expand.rs libsyntax: Don't ICE on macro invocation in count expr of fixed array type. 2014-07-29 15:43:12 -07:00
fmt.rs Change static.rust-lang.org to doc.rust-lang.org 2014-05-21 19:55:39 -07:00
format.rs auto merge of #15871 : dotdash/rust/unnamed_fmtstr, r=pcwalton 2014-07-22 09:01:17 +00:00
log_syntax.rs std: Rename the ToStr trait to ToString, and to_str to to_string. 2014-07-08 13:01:43 -07:00
mtwt.rs Fix all the test fallout 2014-07-09 00:49:54 -07:00
quote.rs syntax: add support for quoting arms 2014-07-29 16:01:36 -07:00
source_util.rs Fix errors 2014-07-15 20:34:16 +02:00
trace_macros.rs librustc: Remove ~EXPR, ~TYPE, and ~PAT from the language, except 2014-05-06 23:12:54 -07:00