about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-30 13:01:10 +0000
committerbors <bors@rust-lang.org>2014-07-30 13:01:10 +0000
commit3ab170ffc5e45d31eef85db8fd7a3b68764f77c2 (patch)
tree8146c564ee7c93820cb78da85b9cd9f1d51cc081 /src/rustllvm/RustWrapper.cpp
parent692077b6431460b96beb0ccf4f38299618d51db2 (diff)
parente841a88b9298b0d1fef93192d8e163b44645fc73 (diff)
downloadrust-3ab170ffc5e45d31eef85db8fd7a3b68764f77c2.tar.gz
rust-3ab170ffc5e45d31eef85db8fd7a3b68764f77c2.zip
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`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions