diff options
| author | Kevin Atkinson <kevina@cs.utah.edu> | 2012-02-01 16:19:45 -0700 |
|---|---|---|
| committer | Kevin Atkinson <kevina@cs.utah.edu> | 2012-02-03 20:41:49 -0700 |
| commit | a2dde9a69218ab350b442caec00d2b991ba2262c (patch) | |
| tree | c66979892a5229502d56c586f2327ef97f872e4c /src/comp/syntax/ast.rs | |
| parent | f7fab77102057b55202992c7e73d62d7123f6356 (diff) | |
| download | rust-a2dde9a69218ab350b442caec00d2b991ba2262c.tar.gz rust-a2dde9a69218ab350b442caec00d2b991ba2262c.zip | |
Allow anti-quotes to also be ast::ty rather than just ast::expr.
Diffstat (limited to 'src/comp/syntax/ast.rs')
| -rw-r--r-- | src/comp/syntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index 576e0ab865a..d8044ae3807 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -285,7 +285,7 @@ enum mac_ { // the span is used by the quoter/anti-quoter ... mac_qq(span /* span of expr */, @expr), // quasi-quote mac_aq(span /* span of quote */, @expr), // anti-quote - mac_var(uint), + mac_var(uint) } type lit = spanned<lit_>; |
