diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-12 15:12:20 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-12 16:21:39 -0800 |
| commit | 4c680849638b548e7202ebe4cbce2c86fd65519a (patch) | |
| tree | ec1071213df45eb85c6bb3a03d02e58238fa1ec9 /src/libsyntax/ext/simplext.rs | |
| parent | f05e2da709cca3b20e560eaf2e05d73c0ca5d91b (diff) | |
| download | rust-4c680849638b548e7202ebe4cbce2c86fd65519a.tar.gz rust-4c680849638b548e7202ebe4cbce2c86fd65519a.zip | |
Convert most codemap types from records to structs
Diffstat (limited to 'src/libsyntax/ext/simplext.rs')
| -rw-r--r-- | src/libsyntax/ext/simplext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/simplext.rs b/src/libsyntax/ext/simplext.rs index bec29c9a835..df7674264ca 100644 --- a/src/libsyntax/ext/simplext.rs +++ b/src/libsyntax/ext/simplext.rs @@ -177,7 +177,7 @@ fn transcribe(cx: ext_ctxt, b: bindings, body: @expr) -> @expr { fn new_id(_old: node_id, cx: ext_ctxt) -> node_id { return cx.next_id(); } fn new_span(cx: ext_ctxt, sp: span) -> span { /* this discards information in the case of macro-defining macros */ - return {lo: sp.lo, hi: sp.hi, expn_info: cx.backtrace()}; + return span {lo: sp.lo, hi: sp.hi, expn_info: cx.backtrace()}; } let afp = default_ast_fold(); let f_pre = |
