summary refs log tree commit diff
path: root/src/comp/syntax/print/pprust.rs
diff options
context:
space:
mode:
authorKevin Atkinson <kevina@cs.utah.edu>2012-01-25 16:38:09 -0700
committerKevin Atkinson <kevina@cs.utah.edu>2012-02-03 20:23:49 -0700
commit5ef53382aeac2de7e6dcc43c156312d2e68c15e4 (patch)
tree0687cc4a0a4bdd20b5118541dd149a2a7a9ec8c0 /src/comp/syntax/print/pprust.rs
parent75edd9ff69625292b1c4d5f05502d1fd28b39f55 (diff)
downloadrust-5ef53382aeac2de7e6dcc43c156312d2e68c15e4.tar.gz
rust-5ef53382aeac2de7e6dcc43c156312d2e68c15e4.zip
Add support for parsing quasi-quotes, doesn't do anything useful yet.
Diffstat (limited to 'src/comp/syntax/print/pprust.rs')
-rw-r--r--src/comp/syntax/print/pprust.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs
index 3bb47ce6c46..74ebd271b6a 100644
--- a/src/comp/syntax/print/pprust.rs
+++ b/src/comp/syntax/print/pprust.rs
@@ -739,6 +739,8 @@ fn print_mac(s: ps, m: ast::mac) {
         print_possibly_embedded_block(s, blk, block_normal, indent_unit);
       }
       ast::mac_ellipsis { word(s.s, "..."); }
+      ast::mac_var(v) { word(s.s, #fmt("$%u", v)); }
+      _ { /* fixme */ }
     }
 }