diff options
| author | bors <bors@rust-lang.org> | 2014-07-30 13:01:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-30 13:01:10 +0000 |
| commit | 3ab170ffc5e45d31eef85db8fd7a3b68764f77c2 (patch) | |
| tree | 8146c564ee7c93820cb78da85b9cd9f1d51cc081 /src/rustllvm/RustWrapper.cpp | |
| parent | 692077b6431460b96beb0ccf4f38299618d51db2 (diff) | |
| parent | e841a88b9298b0d1fef93192d8e163b44645fc73 (diff) | |
| download | rust-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
