diff options
| author | Kevin Atkinson <kevina@cs.utah.edu> | 2012-02-01 00:20:31 -0700 |
|---|---|---|
| committer | Kevin Atkinson <kevina@cs.utah.edu> | 2012-02-03 20:41:48 -0700 |
| commit | da74a7f9ca774cd8addcb00a361bb230facc3b31 (patch) | |
| tree | 56a6c60c5d6825a02e59c8934deba409334f70e0 /src/comp/syntax/ext/env.rs | |
| parent | 5ea04c65c151708272b92d00c8448156239affb2 (diff) | |
| download | rust-da74a7f9ca774cd8addcb00a361bb230facc3b31.tar.gz rust-da74a7f9ca774cd8addcb00a361bb230facc3b31.zip | |
Make macro arg optional in syntax, again untested.
Diffstat (limited to 'src/comp/syntax/ext/env.rs')
| -rw-r--r-- | src/comp/syntax/ext/env.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/syntax/ext/env.rs b/src/comp/syntax/ext/env.rs index 8cf299c5e67..b9b42028c0f 100644 --- a/src/comp/syntax/ext/env.rs +++ b/src/comp/syntax/ext/env.rs @@ -11,6 +11,7 @@ export expand_syntax_ext; fn expand_syntax_ext(cx: ext_ctxt, sp: codemap::span, arg: ast::mac_arg, _body: ast::mac_body) -> @ast::expr { + let arg = get_mac_arg(cx,sp,arg); let args: [@ast::expr] = alt arg.node { ast::expr_vec(elts, _) { elts } |
