diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-12 17:19:56 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-12 17:19:56 -0800 |
| commit | d115944809467bd9011d769abbdfd326f8a9d619 (patch) | |
| tree | 0c41ec76d84f3fdcc75cfb440df4ec6faca49195 /src/libsyntax/codemap.rs | |
| parent | 18a825bda0a6098d3d8982784f3dffb908df5e40 (diff) | |
Remove expn_info box typedef from codemap
Diffstat (limited to 'src/libsyntax/codemap.rs')
| -rw-r--r-- | src/libsyntax/codemap.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index be7e2025120..c4e922628a2 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -39,7 +39,11 @@ export loc; export get_filemap; export new_codemap; -struct span {lo: uint, hi: uint, expn_info: expn_info} +struct span { + lo: uint, + hi: uint, + expn_info: Option<@expn_info> +} impl span : cmp::Eq { pure fn eq(other: &span) -> bool { @@ -59,11 +63,10 @@ impl<D: Deserializer> span: Deserializable<D> { } } -enum expn_info_ { +enum expn_info { expanded_from({call_site: span, callie: {name: ~str, span: Option<span>}}) } -type expn_info = Option<@expn_info_>; type filename = ~str; |
